wok-next view acl/receipt @ rev 19641
Add libpng12; up libpng & apng tools.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 15 18:52:32 2017 +0200 (2017-02-15) |
parents | 11b5e93cb5f2 |
children | 11f96bc53c0e |
line source
1 # SliTaz package receipt.
3 PACKAGE="acl"
4 VERSION="2.2.52"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2.1 GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
15 DEPENDS="attr"
16 BUILD_DEPENDS="attr-dev bash libtool gettext"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="attr-dev" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 rm /bin/rpm
27 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
29 ./configure \
30 --bindir=/bin \
31 --disable-static \
32 --libexecdir=/usr/lib \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install install-lib install-dev DIST_ROOT=$DESTDIR
37 mkdir $install/lib
38 mv -v $install/usr/lib/libacl.so.* $install/lib
39 ln -sfv ../../lib/$(readlink $install/usr/lib/libacl.so) \
40 $install/usr/lib/libacl.so
41 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
42 -exec chmod 755 \{\} \;
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 cook_copy_files *.so*
51 }