wok-next view attr/receipt @ rev 20863

Up: gawk (4.2.1), kmod (25), less (530), irssi (1.1.1), irssi-scripts (latest)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 28 12:30:17 2018 +0300 (2018-06-28)
parents 90a5eb560fd6
children 41860cbdf043
line source
1 # SliTaz package receipt v2.
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 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/attr.html"
12 TARBALL="$PACKAGE-$VERSION.src.tar.gz"
13 WGET_URL="http://download.savannah.gnu.org/releases/attr/$TARBALL"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="autoconf automake m4 libtool gettext coreutils-operations"
17 SPLIT="attr-dev"
19 compile_rules() {
20 rm /bin/rpm >/dev/null
21 sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in
23 ./configure \
24 --bindir=/bin \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install install-lib install-dev DIST_ROOT=$DESTDIR || return 1
31 mkdir -p $install/lib
32 mv $install/usr/lib/libattr.so.* $install/lib
33 ln -sf ../../lib/$(readlink $install/usr/lib/libattr.so) \
34 $install/usr/lib/libattr.so
36 find $install -type f \( -name '*.so*' -o -name '*.la' \) \
37 -exec chmod 755 \{\} \;
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 attr)
43 copy @std
44 TAGS="LFS"
45 ;;
46 *-dev) copy @dev;;
47 esac
48 }