wok annotate lsof/receipt @ rev 12228
Add: perl-http-cookies perl-http-daemon perl-http-negotiate perl-net-http pe
rl-www-robotrules
rl-www-robotrules
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 10:52:42 2012 +0200 (2012-04-09) |
parents | 9493adae21ec |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pascal@2444 | 1 # SliTaz package receipt. |
pascal@2444 | 2 |
pascal@2444 | 3 PACKAGE="lsof" |
slaxemulator@6539 | 4 VERSION="4.84" |
pascal@2444 | 5 CATEGORY="system-tools" |
pascal@2444 | 6 SHORT_DESC="list open files." |
pascal@2444 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5786 | 8 TARBALL="${PACKAGE}_$VERSION.tar.bz2" |
pascal@2444 | 9 WEB_SITE="http://people.freebsd.org/~abe/" |
pascal@2444 | 10 WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL" |
pascal@2444 | 11 |
pascal@2444 | 12 # Rules to configure and make the package. |
pascal@2444 | 13 compile_rules() |
pascal@2444 | 14 { |
pascal@2444 | 15 mv ${PACKAGE}_${VERSION} $src 2> /dev/null |
pascal@2444 | 16 cd $src |
pascal@2444 | 17 if [ ! -d ${PACKAGE}_${VERSION}_src ]; then |
pascal@2444 | 18 tar xf ${PACKAGE}_${VERSION}_src.tar |
pascal@2444 | 19 fi |
pascal@2444 | 20 cd ${PACKAGE}_${VERSION}_src |
pascal@2444 | 21 yes '' | ./Configure linux && |
pascal@2444 | 22 make |
pascal@2444 | 23 } |
pascal@2444 | 24 |
pascal@2444 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2444 | 26 genpkg_rules() |
pascal@2444 | 27 { |
pascal@2444 | 28 mkdir -p $fs/usr/bin |
pascal@2444 | 29 cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin |
pascal@2444 | 30 } |
pascal@2444 | 31 |