PKGBUILDs/core/attr/PKGBUILD

39 lines
918 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
2009-09-26 14:54:19 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=attr
pkgver=2.4.43
pkgrel=2
pkgdesc="Extended attribute support library for ACL support"
arch=(arm)
url="http://oss.sgi.com/projects/xfs/"
license=('LGPL')
groups=('base')
2009-09-26 14:54:19 +00:00
depends=()
2009-09-26 14:35:50 +00:00
makedepends=('gettext')
replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${pkgver}-1.tar.gz)
md5sums=('91583a14bcbd637adaa9b07ea49c5d4b')
build() {
cd $startdir/src/attr-$pkgver
autoconf
2009-09-26 14:54:19 +00:00
./configure --prefix=/opt
2009-09-26 14:35:50 +00:00
sed -i -e 's/man2//g' man/Makefile
make || return 1
2009-09-26 14:54:19 +00:00
make prefix=${startdir}/pkg/opt install install-lib install-dev
2009-09-26 14:35:50 +00:00
# tidy up
cd "${startdir}/pkg"
2009-09-26 14:54:19 +00:00
# mkdir -v lib
# mv -v usr/lib/libattr.so* lib/
ln -sv opt/lib/libattr.so.1 opt/lib/libattr.so
2009-09-26 14:35:50 +00:00
2009-09-26 14:54:19 +00:00
mv -v opt/libexec/libattr.{a,la} opt/lib/
rm -rvf opt/libexec
2009-09-26 14:35:50 +00:00
}