2009-11-01 15:22:38 +00:00
|
|
|
# Maintainer: Mike Staszel <mikestaszel@openpogo.com>
|
2009-10-31 14:10:07 +00:00
|
|
|
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgname=attr
|
2009-10-31 14:10:07 +00:00
|
|
|
pkgver=2.4.44
|
|
|
|
pkgrel=1
|
2009-10-08 03:40:19 +00:00
|
|
|
pkgdesc="Extended attribute support library for ACL support"
|
2009-11-01 15:22:38 +00:00
|
|
|
arch=('arm')
|
2009-10-08 03:40:19 +00:00
|
|
|
url="http://oss.sgi.com/projects/xfs/"
|
|
|
|
license=('LGPL')
|
|
|
|
groups=('base')
|
|
|
|
depends=('glibc')
|
|
|
|
makedepends=('gettext')
|
|
|
|
replaces=('xfsattr')
|
|
|
|
provides=('xfsattr')
|
|
|
|
conflicts=('xfsattr')
|
|
|
|
options=('!libtool')
|
2009-10-31 14:10:07 +00:00
|
|
|
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr-${pkgver}.src.tar.gz)
|
|
|
|
sha256sums=('e01fa00686072a02dddf994e6217be950f51c1dc0852ad2e210c48b6e8de793a')
|
2009-10-08 03:40:19 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/attr-$pkgver
|
|
|
|
autoconf
|
|
|
|
./configure --prefix=/usr
|
|
|
|
sed -i -e 's/man2//g' man/Makefile
|
|
|
|
make || return 1
|
|
|
|
make prefix=${startdir}/pkg/usr install install-lib install-dev
|
|
|
|
|
|
|
|
# tidy up
|
|
|
|
cd "${startdir}/pkg"
|
|
|
|
|
|
|
|
mkdir -v lib
|
|
|
|
mv -v usr/lib/libattr.so* lib/
|
|
|
|
ln -sv ../../lib/libattr.so.1 usr/lib/libattr.so
|
|
|
|
|
|
|
|
mv -v usr/libexec/libattr.{a,la} usr/lib/
|
|
|
|
rm -rvf usr/libexec
|
|
|
|
}
|