aboutsummaryrefslogtreecommitdiffstats
path: root/main/attr/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-20 09:12:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-20 09:18:57 +0000
commitd44ad86d1f6cb8ab59dd413ba19668c633ff7dfd (patch)
tree5a680e530339de55a5dc00b84e45e16fa6daba2f /main/attr/APKBUILD
parent0199c840c6f0ce647cac363765b6a1a0627fd1ca (diff)
downloadaports-d44ad86d1f6cb8ab59dd413ba19668c633ff7dfd.tar.bz2
aports-d44ad86d1f6cb8ab59dd413ba19668c633ff7dfd.tar.xz
main/attr: upgrade to 2.4.46
Diffstat (limited to 'main/attr/APKBUILD')
-rw-r--r--main/attr/APKBUILD39
1 files changed, 27 insertions, 12 deletions
diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD
index 8fd0665608..8eb09f417a 100644
--- a/main/attr/APKBUILD
+++ b/main/attr/APKBUILD
@@ -1,23 +1,28 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=attr
-pkgver=2.4.44
-_ver=2.4.44
-pkgrel=7
-pkgdesc="Extended attribute support library for ACL support"
-url="http://oss.sgi.com/projects/xfs/"
+pkgver=2.4.46
+pkgrel=0
+pkgdesc="Utilities for managing filesystem extended attributes"
+url="http://acl.bestbits.at/"
arch="all"
license="LGPL"
depends=
makedepends="libtool autoconf automake bash gzip"
-subpackages="$pkgname-dev $pkgname-doc"
-source="ftp://ftp.archlinux.org/other/attr/attr-${pkgver}.src.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc libattr"
+source="http://download.savannah.gnu.org/releases-noredirect/attr/attr-$pkgver.src.tar.gz
+ attr-2.4.32-build.patch
+ "
prepare() {
cd "$srcdir"/attr-$pkgver
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+
sed -i -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
include/builddefs.in
-
- autoconf || return 1
}
build() {
@@ -44,8 +49,18 @@ build() {
package() {
cd "$srcdir"/attr-$pkgver
- make DIST_ROOT="$pkgdir" install install-lib install-dev
+ make -j1 LIBTOOL=$PWD/libtool DESTDIR="$pkgdir" \
+ install install-lib install-dev
# provided by man-pages
- rm -fr "$pkgdir"/usr/share/man/man2
+ rm -fr "$pkgdir"/usr/share/man/man2 \
+ "$pkgdir"/lib/*.a "$pkgdir"/lib/*.la
}
-md5sums="adeefe65c5ad1febe46da185c5bfd5d4 attr-2.4.44.src.tar.gz"
+
+libattr() {
+ pkgdesc="Dynamic library for extended attribute support"
+ mkdir -p "$subpkgdir"/lib
+ mv "$pkgdir"/lib/lib*.so.* "$subpkgdir"/lib/
+}
+
+md5sums="db557c17fdfa4f785333ecda08654010 attr-2.4.46.src.tar.gz
+6d6bd02aca84ec61516d6700a87bbff7 attr-2.4.32-build.patch"