summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-03-01 15:16:52 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-03-01 15:16:52 +0000
commit68271e91796c99c2d40ff9d748deba863ae15db4 (patch)
treef5ae80d64fef3e482fb176ea1e1aa0d3f9544711 /dev-libs/libowfat
parentBump to 0.4.1. Fixes #171411. Ebuild contributed by schism@subverted.org, pat... (diff)
downloadgentoo-2-68271e91796c99c2d40ff9d748deba863ae15db4.tar.gz
gentoo-2-68271e91796c99c2d40ff9d748deba863ae15db4.tar.bz2
gentoo-2-68271e91796c99c2d40ff9d748deba863ae15db4.zip
Bump to 0.28, fixes #221803
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libowfat')
-rw-r--r--dev-libs/libowfat/ChangeLog9
-rw-r--r--dev-libs/libowfat/libowfat-0.28.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-libs/libowfat/ChangeLog b/dev-libs/libowfat/ChangeLog
index a90e2db51bdf..615db3d93cfc 100644
--- a/dev-libs/libowfat/ChangeLog
+++ b/dev-libs/libowfat/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libowfat
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/ChangeLog,v 1.21 2007/02/04 19:01:54 beandog Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/ChangeLog,v 1.22 2009/03/01 15:16:52 patrick Exp $
+
+*libowfat-0.28 (01 Mar 2009)
+
+ 01 Mar 2009; Patrick Lauer <patrick@gentoo.org> +libowfat-0.28.ebuild:
+ Bump to 0.28, fixes #221803
04 Feb 2007; Steve Dibb <beandog@gentoo.org> libowfat-0.24.ebuild:
amd64 stable, bug 157477
diff --git a/dev-libs/libowfat/libowfat-0.28.ebuild b/dev-libs/libowfat/libowfat-0.28.ebuild
new file mode 100644
index 000000000000..5d38a276d0b5
--- /dev/null
+++ b/dev-libs/libowfat/libowfat-0.28.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.28.ebuild,v 1.1 2009/03/01 15:16:52 patrick Exp $
+
+DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein."
+SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
+HOMEPAGE="http://www.fefe.de/libowfat/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+DEPEND=">=dev-libs/dietlibc-0.23
+ >=sys-apps/sed-4"
+
+RDEPEND=">=dev-libs/dietlibc-0.23"
+
+src_unpack() {
+ unpack ${A} ; cd "${S}"
+ sed -i -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \
+ -e "s:^DIET.*:DIET=/usr/bin/diet -Os:" \
+ -e "s:^prefix.*:prefix=/usr:" \
+ -e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \
+ GNUmakefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install () {
+ make \
+ LIBDIR=${D}/usr/lib \
+ MAN3DIR=${D}/usr/share/man/man3 \
+ INCLUDEDIR=${D}/usr/include/libowfat \
+ install || die "make install failed"
+
+ cd "${D}"/usr/share/man
+ mv man3/buffer.3 man3/owfat-buffer.3
+}