wok-6.x view lsof/receipt @ rev 21777

linld: fix strdup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 14:43:21 2019 +0200 (2019-07-11)
parents a78610b2eb47
children e6a4cd87fdcb
line source
1 # SliTaz package receipt.
3 PACKAGE="lsof"
4 VERSION="4.91"
5 CATEGORY="system-tools"
6 SHORT_DESC="List open files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://people.freebsd.org/~abe/"
11 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
12 WGET_URL="https://fossies.org/linux/misc/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv ${PACKAGE}_${VERSION} $src 2> /dev/null
18 cd $src
19 if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
20 tar xf ${PACKAGE}_${VERSION}_src.tar
21 fi
22 cd ${PACKAGE}_${VERSION}_src
23 yes '' | ./Configure linux &&
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin
32 }