wok-current view attr/receipt @ rev 20687
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 29 09:55:27 2019 +0100 (2019-01-29) |
parents | 7f39549720b8 |
children | a4d9cd4fcd65 |
line source
1 # SliTaz package receipt.
3 PACKAGE="attr"
4 VERSION="2.4.47"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/attr/"
10 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="autoconf automake m4 libtool gettext"
17 # When cross compiling auto-tools, gettext and m4 build system are used.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # Need bash sh to compile
26 mv /bin/sh /bin/sh.bak
27 ln -s /bin/bash /bin/sh
29 # No need to use rpm
30 rm /bin/rpm
32 export INSTALL_USER=root INSTALL_GROUP=root
34 ./configure $CONFIGURE_ARGS &&
35 make &&
36 make install install-lib install-dev DIST_ROOT=$DESTDIR
38 mv -f /bin/sh.bak /bin/sh
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 find $fs -type f -name '*.so*' -exec chmod a+x \{\} \;
48 }