summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-28 21:00:32 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-28 21:00:32 +0000
commitbf9b03c7eb547fdbc022693dc3674611947c4188 (patch)
tree1384631fcabc33fa3638e3f0f98ae31645c57306 /app-emulation/lib765
parentVersion bump. Translation updates. (diff)
downloadgentoo-2-bf9b03c7eb547fdbc022693dc3674611947c4188.tar.gz
gentoo-2-bf9b03c7eb547fdbc022693dc3674611947c4188.tar.bz2
gentoo-2-bf9b03c7eb547fdbc022693dc3674611947c4188.zip
Add USE=static-libs. Add USE=libdsk. Set RDEPEND. Fix quoting issue. Use emake not make.
(Portage version: 2.2_rc86/cvs/Linux i686)
Diffstat (limited to 'app-emulation/lib765')
-rw-r--r--app-emulation/lib765/ChangeLog7
-rw-r--r--app-emulation/lib765/lib765-0.4.2.ebuild11
-rw-r--r--app-emulation/lib765/metadata.xml4
3 files changed, 16 insertions, 6 deletions
diff --git a/app-emulation/lib765/ChangeLog b/app-emulation/lib765/ChangeLog
index e8cf26cfb64b..57a5d374068f 100644
--- a/app-emulation/lib765/ChangeLog
+++ b/app-emulation/lib765/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/lib765
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/ChangeLog,v 1.9 2010/09/28 20:48:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/ChangeLog,v 1.10 2010/09/28 21:00:32 jer Exp $
+
+ 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> lib765-0.4.2.ebuild,
+ metadata.xml:
+ Add USE=static-libs. Add USE=libdsk. Set RDEPEND. Fix quoting issue. Use
+ emake not make.
*lib765-0.4.2 (28 Sep 2010)
diff --git a/app-emulation/lib765/lib765-0.4.2.ebuild b/app-emulation/lib765/lib765-0.4.2.ebuild
index ce9de3363753..1d42aa58bd25 100644
--- a/app-emulation/lib765/lib765-0.4.2.ebuild
+++ b/app-emulation/lib765/lib765-0.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/lib765-0.4.2.ebuild,v 1.1 2010/09/28 20:48:58 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/lib765/lib765-0.4.2.ebuild,v 1.2 2010/09/28 21:00:32 jer Exp $
EAPI="2"
@@ -12,20 +12,21 @@ SRC_URI="http://www.seasip.demon.co.uk/Unix/LibDsk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-IUSE=""
+IUSE="libdsk static-libs"
KEYWORDS="~amd64 ~ppc ~x86"
-DEPEND="app-emulation/libdsk"
+DEPEND="libdsk? ( app-emulation/libdsk )"
+RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf
}
src_configure() {
- econf --with-libdsk || die
+ econf $(use_with libdsk) $(use_enable static-libs static) || die
}
src_install() {
- make install DESTDIR=${D} || die
+ emake install DESTDIR="${D}" || die
dodoc ChangeLog doc/765.txt
}
diff --git a/app-emulation/lib765/metadata.xml b/app-emulation/lib765/metadata.xml
index b17012b02b48..b510fc196e8d 100644
--- a/app-emulation/lib765/metadata.xml
+++ b/app-emulation/lib765/metadata.xml
@@ -6,4 +6,8 @@
<email>maintainer-needed@gentoo.org</email>
<description>This package lacks a primary herd or maintainer.</description>
</maintainer>
+<use>
+ <flag name='libdsk'>Enable support for the floppy disk emulation library
+ <pkg>app-emulation/libdsk</pkg></flag>
+</use>
</pkgmetadata>