mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 16:35:33 +08:00
42 lines
1.0 KiB
Bash
42 lines
1.0 KiB
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=acl
|
|
pkgver=2.2.49
|
|
pkgrel=1
|
|
pkgdesc="Library for filesystem ACL support"
|
|
arch=('i686' 'x86_64')
|
|
url="http://savannah.nongnu.org/projects/acl"
|
|
license=('LGPL')
|
|
depends=('attr>=2.4.41')
|
|
replaces=('xfsacl')
|
|
provides=('xfsacl')
|
|
conflicts=('xfsacl')
|
|
options=('!libtool')
|
|
source=(http://mirrors.zerg.biz/nongnu/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
|
|
sha256sums=('b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5')
|
|
|
|
build() {
|
|
cd $srcdir/acl-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make prefix=$pkgdir/usr/ install install-lib install-dev
|
|
|
|
# tidy up
|
|
cd $pkgdir
|
|
|
|
mkdir -v lib
|
|
mv -v usr/lib/libacl.so* lib/
|
|
ln -sv ../../lib/libacl.so.1 usr/lib/libacl.so
|
|
|
|
mv -v usr/libexec/libacl.{a,la} usr/lib/
|
|
rm -rf $pkgdir/usr/libexec
|
|
}
|