wok-next diff lsof/receipt @ rev 3658
Add audiofile-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 07 19:03:50 2009 +0200 (2009-07-07) |
parents | |
children | 9493adae21ec |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lsof/receipt Tue Jul 07 19:03:50 2009 +0200 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lsof" 1.7 +VERSION="4.81" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="list open files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE.tar.bz2" 1.12 +WEB_SITE="http://people.freebsd.org/~abe/" 1.13 +WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL" 1.14 +#ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof.tar.bz2 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + mv ${PACKAGE}_${VERSION} $src 2> /dev/null 1.20 + cd $src 1.21 + if [ ! -d ${PACKAGE}_${VERSION}_src ]; then 1.22 + tar xf ${PACKAGE}_${VERSION}_src.tar 1.23 + fi 1.24 + cd ${PACKAGE}_${VERSION}_src 1.25 + yes '' | ./Configure linux && 1.26 + make 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/bin 1.33 + cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin 1.34 +} 1.35 +