wok-6.x view acl/receipt @ rev 8776
Up: tazwok (4.0) - New function, improvement and use each time a clean chroot to build package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 22 13:00:23 2011 +0100 (2011-02-22) |
parents | cd2506f67c2e |
children | 242a015e1b52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="acl"
4 VERSION="2.2.49"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base attr"
9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext attr-dev attr"
10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
11 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
12 WGET_URL="http://nongnu.askapache.com/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Need bash sh to compile
20 mv /bin/sh /bin/sh.bak
21 ln -s /bin/bash /bin/sh
23 # Configure is included in Makefile
24 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
25 make install install-lib install-dev DIST_ROOT=$DESTDIR
26 } || { mv -f /bin/sh.bak /bin/sh; return 1; }
28 mv -f /bin/sh.bak /bin/sh
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/lib $fs/usr/lib
35 cp -a $_pkg/lib/*.so* $fs/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 }