wok-6.x view attr/receipt @ rev 6080

Add: Thunderbird (3.1.2) Mozilla mail
author Dominique Corbex <domcox@slitaz.org>
date Sun Aug 29 11:04:31 2010 +0200 (2010-08-29)
parents d5c5a2410a9d
children 6010b60e81b4
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.44"
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}.src.tar.gz"
11 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
12 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446
21 # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files
22 sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in
23 sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in
24 sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in
25 sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in
26 sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in
27 sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in
29 # force docdir conformance to Slack default
30 sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in
31 sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in
33 # Don't need to build man and doc
34 # rm -r -f man
35 # rm -r -f doc
37 # Configure is included in Makefile
38 make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
39 make DESTDIR=$src/_pkg install install-lib install-dev
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/lib
46 cp -a $_pkg/lib/*.so* $fs/lib
48 # Symlinks are not created correctly; create manually
49 mkdir -p $fs/usr/lib
50 ln -s /lib/libattr.so $fs/usr/lib/libattr.so
52 cp -a $_pkg/usr/bin $fs/usr
53 }