diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-27 20:14:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-27 20:14:58 +0000 |
commit | 38c0e57b47fb699c1e7d87d31db5905f22ffb71b (patch) | |
tree | 5c58e7ba7ca606df291f030a37bb0e3557b10c56 /main/e2fsprogs/APKBUILD | |
parent | 4d9ec70866a406ce4ce97e307b7dacb44b7d4cab (diff) | |
download | aports-38c0e57b47fb699c1e7d87d31db5905f22ffb71b.tar.bz2 aports-38c0e57b47fb699c1e7d87d31db5905f22ffb71b.tar.xz |
main/e2fsprogs: provide com_err_r() for heimdal compat
Diffstat (limited to 'main/e2fsprogs/APKBUILD')
-rw-r--r-- | main/e2fsprogs/APKBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD index c4906382b..050e7727e 100644 --- a/main/e2fsprogs/APKBUILD +++ b/main/e2fsprogs/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=e2fsprogs pkgver=1.41.9 -pkgrel=1 +pkgrel=2 pkgdesc="Standard Ext2/3/4 filesystem utilities" url="http://e2fsprogs.sourceforge.net" license="GPL LGPL MIT" @@ -9,12 +9,19 @@ depends= install="$pkgname.post-upgrade" makedepends="util-linux-ng-dev pkgconfig" subpackages="$pkgname-dev $pkgname-doc libcom_err" -source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz" +source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz + 0001-implement-com_right_r.patch" depends_dev="util-linux-ng-dev" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + patch -p1 -i "$srcdir"/0001-implement-com_right_r.patch +} + build () { - cd ${srcdir}/${pkgname}-${pkgver} + cd "$_builddir" ./configure \ --mandir=/usr/share/man \ --enable-elf-shlibs \ @@ -26,6 +33,10 @@ build () { --disable-nls make || return 1 +} + +package() { + cd "$_builddir" make LDCONFIG=: DESTDIR=${pkgdir} install install-libs || return 1 } @@ -35,10 +46,5 @@ libcom_err() { mv "$pkgdir"/usr/lib/libcom_err* "$subpkgdir"/lib/ } -dev() { - default_dev - install -d "$subpkgdir"/lib - mv "$subpkgdir"/usr/lib/libcom_err* "$subpkgdir"/lib/ -} - -md5sums="52f60a9e19a02f142f5546f1b5681927 e2fsprogs-1.41.9.tar.gz" +md5sums="52f60a9e19a02f142f5546f1b5681927 e2fsprogs-1.41.9.tar.gz +600bedf9a85cd197c39715b0be5cc5f7 0001-implement-com_right_r.patch" |