PKGBUILDs/core/attr/PKGBUILD
2009-09-26 09:54:19 -05:00

38 lines
918 B
Bash

# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
# Modified by OpenPogo
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')
depends=()
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
./configure --prefix=/opt
sed -i -e 's/man2//g' man/Makefile
make || return 1
make prefix=${startdir}/pkg/opt install install-lib install-dev
# tidy up
cd "${startdir}/pkg"
# mkdir -v lib
# mv -v usr/lib/libattr.so* lib/
ln -sv opt/lib/libattr.so.1 opt/lib/libattr.so
mv -v opt/libexec/libattr.{a,la} opt/lib/
rm -rvf opt/libexec
}