# SliTaz package receipt. PACKAGE="lsof" VERSION="4.84" CATEGORY="system-tools" SHORT_DESC="list open files." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="${PACKAGE}_$VERSION.tar.bz2" WEB_SITE="http://people.freebsd.org/~abe/" WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { mv ${PACKAGE}_${VERSION} $src 2> /dev/null cd $src if [ ! -d ${PACKAGE}_${VERSION}_src ]; then tar xf ${PACKAGE}_${VERSION}_src.tar fi cd ${PACKAGE}_${VERSION}_src yes '' | ./Configure linux && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin }