wok-current view attr/receipt @ rev 15370
Up ipxe-pxe (1.0.0-20130925)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 15:05:05 2013 +0000 (2013-10-14) |
parents | a7b54d88ae54 |
children | 2a5cc8208d36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.46"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes."
7 MAINTAINER="rcx@zoominternet.net"
8 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
9 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
10 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="autoconf automake m4 libtool gettext"
16 # When cross compiling auto-tools, gettext and m4 build system are used.
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
26 # Need bash sh to compile
27 mv /bin/sh /bin/sh.bak
28 ln -s /bin/bash /bin/sh
30 # Configure is included in Makefile
31 { make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" &&
32 make install install-lib install-dev DIST_ROOT=$DESTDIR
33 } || { mv -f /bin/sh.bak /bin/sh; return 1; }
35 mv -f /bin/sh.bak /bin/sh
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/lib $fs/usr/lib
42 cp -a $install/lib/*.so* $fs/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
46 }