wok-next view acl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 41860cbdf043
children 0f2575775b2d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="acl"
4 VERSION="2.2.53"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for manipulating POSIX Access Control Lists"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1 GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/acl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/acl/$TARBALL"
15 BUILD_DEPENDS="attr-dev bash libtool gettext-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 rm /bin/rpm 2>/dev/null
21 ./configure \
22 --bindir=/bin \
23 --disable-static \
24 --libexecdir=/usr/lib \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$install install || return 1
30 mkdir -p $install/lib
31 mv -v $install/usr/lib/libacl.so.* $install/lib
32 ln -sfv ../../lib/$(readlink $install/usr/lib/libacl.so) \
33 $install/usr/lib/libacl.so
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 acl)
39 copy @std
40 DEPENDS="attr"
41 TAGS="LFS"
42 ;;
43 acl-dev)
44 copy @dev
45 ;;
46 esac
47 }