wok annotate acl/receipt @ rev 7431

remove pyvnc2swf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 29 08:25:37 2010 +0100 (2010-11-29)
parents d5c5a2410a9d
children 00abc38d049f
rev   line source
rcx@3746 1 # SliTaz package receipt.
rcx@3746 2
rcx@3746 3 PACKAGE="acl"
rcx@6061 4 VERSION="2.2.49"
rcx@3746 5 CATEGORY="system-tools"
rcx@3746 6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists."
rcx@3746 7 MAINTAINER="rcx@zoominternet.net"
rcx@3746 8 DEPENDS="glibc-base attr"
rcx@3753 9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext attr-dev attr"
rcx@6061 10 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
rcx@3746 11 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
rcx@6061 12 WGET_URL="http://nongnu.askapache.com/$PACKAGE/$TARBALL"
rcx@3746 13
rcx@3746 14 # Rules to configure and make the package.
rcx@3746 15 compile_rules()
rcx@3746 16 {
rcx@3746 17 cd $src
rcx@3746 18
rcx@3746 19 # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446
rcx@3746 20
rcx@3746 21 # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files
rcx@3746 22 sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in
rcx@3746 23 sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in
rcx@3746 24 sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in
rcx@3746 25 sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in
rcx@3746 26 sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in
rcx@3746 27 sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in
rcx@3746 28
rcx@3746 29 # force docdir conformance to Slack default
rcx@3746 30 sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in
rcx@3746 31 sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in
rcx@3746 32
rcx@3746 33 # Don't need to build man and doc
rcx@6061 34 # rm -r -f man
rcx@6061 35 # rm -r -f doc
rcx@3746 36
rcx@3747 37 # Configure is included in Makefile
rcx@3747 38 make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
rcx@3746 39 make DESTDIR=$src/_pkg install install-lib install-dev
rcx@3746 40 }
rcx@3746 41
rcx@3746 42 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3746 43 genpkg_rules()
rcx@3746 44 {
rcx@3747 45 mkdir -p $fs/lib
rcx@3747 46 cp -a $_pkg/lib/*.so* $fs/lib
rcx@3747 47
rcx@3753 48 # Symlinks are not created correctly; create manually
rcx@3746 49 mkdir -p $fs/usr/lib
rcx@3753 50 ln -s /lib/libacl.so $fs/usr/lib/libacl.so
rcx@3747 51
rcx@3746 52 cp -a $_pkg/usr/bin $fs/usr
rcx@3746 53 }