diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-03-28 06:09:36 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-03-28 06:09:36 +0000 |
commit | e1661193761bcf7404c48eca58dbb6b7cab5fd17 (patch) | |
tree | 8807b3a7cad249e30b06a514aaf6770aca27aef4 /app-misc | |
parent | update openfoam mask (diff) | |
download | gentoo-2-e1661193761bcf7404c48eca58dbb6b7cab5fd17.tar.gz gentoo-2-e1661193761bcf7404c48eca58dbb6b7cab5fd17.tar.bz2 gentoo-2-e1661193761bcf7404c48eca58dbb6b7cab5fd17.zip |
Respect {LD,C}FLAGS, add missing die, sort keywords. Fixes bug 335965 by Diego Elio Pettenò
(Portage version: 2.2.0_alpha27/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/regionset/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/regionset/regionset-0.1-r1.ebuild | 36 |
2 files changed, 44 insertions, 2 deletions
diff --git a/app-misc/regionset/ChangeLog b/app-misc/regionset/ChangeLog index df8946df9949..39a4855328f1 100644 --- a/app-misc/regionset/ChangeLog +++ b/app-misc/regionset/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/regionset -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/regionset/ChangeLog,v 1.8 2008/11/26 17:50:56 beandog Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/regionset/ChangeLog,v 1.9 2011/03/28 06:09:36 xarthisius Exp $ + +*regionset-0.1-r1 (28 Mar 2011) + + 28 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> +regionset-0.1-r1.ebuild: + Respect {LD,C}FLAGS, add missing die, sort keywords. + Fixes bug 335965 by Diego Elio Pettenò 26 Nov 2008; Steve Dibb <beandog@gentoo.org> regionset-0.1.ebuild: Respect CC variable, bug 243666 diff --git a/app-misc/regionset/regionset-0.1-r1.ebuild b/app-misc/regionset/regionset-0.1-r1.ebuild new file mode 100644 index 000000000000..4a370ff2aa0f --- /dev/null +++ b/app-misc/regionset/regionset-0.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/regionset/regionset-0.1-r1.ebuild,v 1.1 2011/03/28 06:09:36 xarthisius Exp $ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="Sets the region on DVD drives" +HOMEPAGE="http://linvdr.org/projects/regionset/" +SRC_URI="http://linvdr.org/download/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +src_compile() { + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die +} + +src_install() { + dosbin regionset || die + dodoc ChangeLog README || die +} + +pkg_postinst() { + ewarn "By default regionset uses /dev/dvd, specify a different device" + ewarn "as a command line argument if you need to. You need write access" + ewarn "to do this, preferably as root." + ewarn + ewarn "Most drives can only have their region changed 4 or 5 times." + ewarn + ewarn "When you use regionset, you MUST have a cd or dvd in the drive" + ewarn "otherwise nasty things will happen to your drive's firmware." +} |