wok view attr/receipt @ rev 13698

syslinux/iso2exe: tiny edits
author Paul Issott <paul@slitaz.org>
date Fri Dec 14 22:52:32 2012 +0000 (2012-12-14)
parents 7817ac3c0699
children a7b54d88ae54
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 TARBALL="${PACKAGE}-${VERSION}.src.tar.gz"
9 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
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 $_pkg/lib/*.so* $fs/lib
43 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 cp -a $_pkg/usr/bin $fs/usr
45 }