aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-10 17:42:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-10 17:42:07 +0000
commitc76165445d6fb4bd734da154bd871caf0136133c (patch)
tree090ef4c122ac0e0a04a96b497d12dbe0bc54d491 /main
parent38d4111bf567fc15cf99b7dca5892e9071153f14 (diff)
downloadaports-c76165445d6fb4bd734da154bd871caf0136133c.tar.bz2
aports-c76165445d6fb4bd734da154bd871caf0136133c.tar.xz
main/attr: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/attr/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/main/attr/APKBUILD b/main/attr/APKBUILD
new file mode 100644
index 0000000000..7046bd56fa
--- /dev/null
+++ b/main/attr/APKBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=attr
+pkgver=2.4.44
+_ver=2.4.44
+pkgrel=1
+pkgdesc="Extended attribute support library for ACL support"
+url="http://oss.sgi.com/projects/xfs/"
+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"
+
+prepare() {
+ cd "$srcdir"/attr-$pkgver
+ sed -i -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
+ include/builddefs.in
+
+ autoconf || return 1
+}
+
+build() {
+ cd "$srcdir"/attr-$pkgver
+
+ unset PLATFORM #184564
+ export OPTIMIZER="${CFLAGS}"
+ export DEBUG=-DNDEBUG
+
+ ./configure \
+ --prefix=/ \
+ --exec-prefix=/ \
+ --sbindir=/bin \
+ --bindir=/usr/bin \
+ --libdir=/lib \
+ --libexecdir=/usr/lib \
+ --enable-lib64=yes \
+ --includedir=/usr/include \
+ --mandir=/usr/share/man \
+ --datadir=/usr/share \
+ --disable-gettext || return 1
+ make LIBTOOL="libtool --tag=CC" || return 1
+}
+
+package() {
+ cd "$srcdir"/attr-$pkgver
+ make DIST_ROOT="$pkgdir" install install-lib install-dev
+ # provided by man-pages
+ rm -fr "$pkgdir"/usr/share/man/man2
+}
+md5sums="adeefe65c5ad1febe46da185c5bfd5d4 attr-2.4.44.src.tar.gz"