From 7471d6b997b9a41ad5dea38c56b0fe2c64472e23 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 20:49:09 +0100 Subject: Recette de which mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- which/.footprint | 10 +++++++--- which/.sha256sum | 1 + which/Pkgfile | 17 +++++++++-------- 3 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 which/.sha256sum diff --git a/which/.footprint b/which/.footprint index 90d183e..9afe6a0 100644 --- a/which/.footprint +++ b/which/.footprint @@ -1,6 +1,10 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/which -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/which.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/info/ +-rw-r--r-- root/root usr/share/info/dir +-rw-r--r-- root/root usr/share/info/which.info +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/which.1.bz2 diff --git a/which/.sha256sum b/which/.sha256sum new file mode 100644 index 0000000..57cadd1 --- /dev/null +++ b/which/.sha256sum @@ -0,0 +1 @@ +d417b65c650d88ad26a208293c1c6e3eb60d4b6d847f01ff8f66aca63e2857f8 which-2.20.tar.gz diff --git a/which/Pkgfile b/which/Pkgfile index ce9bcd7..51a32c3 100644 --- a/which/Pkgfile +++ b/which/Pkgfile @@ -1,18 +1,19 @@ description="Show full path of commands" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team " +maintainer="Lukc " url="http://www.xs4all.nl/~carlo17/which/" depends=() name=which version=2.20 release=1 -source=(http://www.xs4all.nl/~carlo17/which/which-2.20.tar.gz) +source=(http://www.xs4all.nl/~carlo17/$name/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir; + make; + make DESTDIR=$PKG install; } -- cgit v1.2.3-70-g09d2