wok-4.x view attr/receipt @ rev 3712
Up: libwebkit (1.1.11)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Jul 21 17:45:25 2009 +0200 (2009-07-21) |
parents | |
children | 9c0f256e44ac |
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.43-1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext"
10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
11 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-2.4.43 $PACKAGE-$VERSION
19 cd $src
21 # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446
23 # Backup install script
24 cp -f install-sh install-sh.orig
26 # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files
27 sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in
28 sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in
29 sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in
30 sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in
31 sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in
32 sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in
34 # force docdir conformance to Slack default
35 #sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in
36 sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in
38 # Restore install script
39 cp -f install-sh.orig install.sh
41 # Don't need to build man and doc
42 rm -r -f man
43 rm -r -f doc
45 make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
46 make DESTDIR=$src/_pkg install install-lib install-dev
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/lib
53 mkdir -p $fs/usr/lib
54 cp -a $_pkg/lib/*.so* $fs/lib
55 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
57 cp -a $_pkg/usr/bin $fs/usr
58 }