wok-next view attr/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 41860cbdf043 |
children | 82b613cfd1e0 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="attr"
4 VERSION="2.4.48"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for manipulating filesystem extended attributes"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/attr"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/attr.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/attr/$TARBALL"
15 BUILD_DEPENDS="autoconf automake m4 libtool gettext-dev coreutils-operations"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 rm /bin/rpm >/dev/null
21 ./configure \
22 --bindir=/bin \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$install install || return 1
29 mkdir -p $install/lib
30 mv $install/usr/lib/libattr.so.* $install/lib
31 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \
32 $install/usr/lib/libattr.so
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 attr)
38 copy @std
39 TAGS="LFS"
40 ;;
41 *-dev) copy @dev;;
42 esac
43 }