wok-current view findutils/receipt @ rev 19061
Add: Transcends Games. A font with retro-futuristic style.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Wed Apr 20 23:17:41 2016 -0300 (2016-04-20) |
parents | 2b9f96603415 |
children | 59309d227b73 |
line source
1 # SliTaz package receipt.
3 PACKAGE="findutils"
4 VERSION="4.4.2"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU utilities and tools to find/locate."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/findutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base slitaz-base-files"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/findutils \
22 --localstatedir=/var \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }
38 # Remove Busybox symlink before installing
39 pre_install()
40 {
41 rm -f "$1/usr/bin/find"
42 rm -f "$1/usr/bin/xargs"
43 }
45 post_remove()
46 {
47 ln -s /bin/busybox /usr/bin/find
48 ln -s /bin/busybox /usr/bin/xargs
49 }