wok-next diff lsof/receipt @ rev 20624
Up lsof (4.91), granite (0.5), tumbler (fix: disable gtk-doc, update deps)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 03:40:57 2018 +0300 (2018-04-26) |
parents | 6c3718ca17b6 |
children | b1a1deb20f42 |
line diff
1.1 --- a/lsof/receipt Sat Nov 09 17:34:23 2013 +0000 1.2 +++ b/lsof/receipt Thu Apr 26 03:40:57 2018 +0300 1.3 @@ -1,32 +1,29 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lsof" 1.8 -VERSION="4.84" 1.9 +VERSION="4.91" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="list open files." 1.12 +SHORT_DESC="Lists open files for running Unix processes" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="https://people.freebsd.org/~abe/" 1.16 + 1.17 TARBALL="${PACKAGE}_$VERSION.tar.bz2" 1.18 -WEB_SITE="http://people.freebsd.org/~abe/" 1.19 -WGET_URL="ftp://lsof.itap.purdue.edu/pub/tools/unix/$PACKAGE/$TARBALL" 1.20 +WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/$TARBALL" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - mv ${PACKAGE}_${VERSION} $src 2> /dev/null 1.26 - cd $src 1.27 - if [ ! -d ${PACKAGE}_${VERSION}_src ]; then 1.28 - tar xf ${PACKAGE}_${VERSION}_src.tar 1.29 - fi 1.30 +BUILD_DEPENDS="perl" 1.31 + 1.32 +compile_rules() { 1.33 + tar xf ${PACKAGE}_${VERSION}_src.tar 1.34 cd ${PACKAGE}_${VERSION}_src 1.35 + 1.36 yes '' | ./Configure linux && 1.37 - make 1.38 + make -j1 || return 1 1.39 + 1.40 + install -Dm755 $src/${PACKAGE}_${VERSION}_src/lsof $install/usr/bin/lsof 1.41 + cook_pick_manpages $src/${PACKAGE}_${VERSION}_src/lsof.8 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - mkdir -p $fs/usr/bin 1.48 - cp $src/${PACKAGE}_${VERSION}_src/lsof $fs/usr/bin 1.49 +genpkg_rules() { 1.50 + copy @std 1.51 } 1.52 -