diff options
author | Joseph Jezak <josejx@gentoo.org> | 2007-02-19 04:45:14 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2007-02-19 04:45:14 +0000 |
commit | 7f35fc3772342c4aa01ea1510b7dabc92fda0166 (patch) | |
tree | 70eeeeb1114916a43f28bed1d06706fa27ab5262 /x11-misc/xac | |
parent | Add back hal_unmount that was accidently removed (diff) | |
download | gentoo-2-7f35fc3772342c4aa01ea1510b7dabc92fda0166.tar.gz gentoo-2-7f35fc3772342c4aa01ea1510b7dabc92fda0166.tar.bz2 gentoo-2-7f35fc3772342c4aa01ea1510b7dabc92fda0166.zip |
More bug fixes, removed init scripts when not building for a livecd.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'x11-misc/xac')
-rw-r--r-- | x11-misc/xac/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/xac/files/digest-xac-0.6_pre3 | 3 | ||||
-rw-r--r-- | x11-misc/xac/xac-0.6_pre3.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/x11-misc/xac/ChangeLog b/x11-misc/xac/ChangeLog index cd91387ee60c..19a00aad9504 100644 --- a/x11-misc/xac/ChangeLog +++ b/x11-misc/xac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-misc/xac # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xac/ChangeLog,v 1.6 2007/02/18 06:54:01 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xac/ChangeLog,v 1.7 2007/02/19 04:45:14 josejx Exp $ + +*xac-0.6_pre3 (19 Feb 2007) + + 19 Feb 2007; Joseph Jezak <josejx@gentoo.org> +xac-0.6_pre3.ebuild: + More bug fixes, removed init scripts when not building for a livecd. *xac-0.6_pre2 (18 Feb 2007) diff --git a/x11-misc/xac/files/digest-xac-0.6_pre3 b/x11-misc/xac/files/digest-xac-0.6_pre3 new file mode 100644 index 000000000000..b2e497b35026 --- /dev/null +++ b/x11-misc/xac/files/digest-xac-0.6_pre3 @@ -0,0 +1,3 @@ +MD5 bf78269ab3251927ed36e5f764b3556d xac-0.6_pre3.tar.bz2 37323 +RMD160 f87f568b87d740038b366c333cd2988b2e4a5d1b xac-0.6_pre3.tar.bz2 37323 +SHA256 2d00c95147b6d85a0a1ba5f88cb2c26f6c6091198dd2ced3f5964a05b4d10e76 xac-0.6_pre3.tar.bz2 37323 diff --git a/x11-misc/xac/xac-0.6_pre3.ebuild b/x11-misc/xac/xac-0.6_pre3.ebuild new file mode 100644 index 000000000000..0f2f8adc8ac6 --- /dev/null +++ b/x11-misc/xac/xac-0.6_pre3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xac/xac-0.6_pre3.ebuild,v 1.1 2007/02/19 04:45:14 josejx Exp $ + +inherit toolchain-funcs + +DESCRIPTION="Xorgautoconfig (xac) generates configuration files for X.org" +HOMEPAGE="http://dev.gentoo.org/~josejx/xac.html" +LICENSE="GPL-2" +KEYWORDS="~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="livecd" +DEPEND=">=dev-lang/python-2.3 + sys-apps/pciutils" +RDEPEND=">=dev-lang/python-2.3 + || ( x11-base/xorg-server virtual/x11 )" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +src_unpack() { + unpack ${A} + cd ${S} + + ### Replace /usr/lib/xac with libdir version + sed -i "s:/usr/lib/xac:/usr/$(get_libdir)/xac:" xac +} + +src_compile() { + ### Compile the C bindings + cd "${S}"/src + ### I'm not sure of a better way to do this yet + if use x86; then + sed -i "s:if 1:if 0:" setup.py || die "Enabling VBE module failed!" + fi + ./setup.py build || die "Failed to build the C modules" +} + +src_install() { + local xac_base="/usr/$(get_libdir)/xac" + + dosbin "${S}"/xac + + ### Install the C mods + cd "${S}"/src + ./setup.py install --root "${D}" || die "Failed to install the C modules" + + dodir "${xac_base}" + insinto ${xac_base} + doins "${S}"/py/* + + ### Only install the init scripts if livecd is enabled + if use livecd; then + exeinto /etc/init.d + newexe "${S}"/xac.init xac + insinto /etc/conf.d + newins "${S}"/xac.conf xac + fi +} |