wok annotate tree/receipt @ rev 7218
Up: pcmanfm2
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Nov 10 21:35:32 2010 -0500 (2010-11-10) |
parents | |
children | 02bbaa9d12ba |
rev | line source |
---|---|
MikeDSmith25@1401 | 1 # SliTaz package receipt. |
MikeDSmith25@1401 | 2 |
MikeDSmith25@1401 | 3 PACKAGE="tree" |
MikeDSmith25@1401 | 4 VERSION="1.5.2.1" |
MikeDSmith25@1401 | 5 CATEGORY="utilities" |
MikeDSmith25@1401 | 6 SHORT_DESC="Recursive directory listing program" |
MikeDSmith25@1401 | 7 MAINTAINER="MikeDSmith25@gmail.com" |
MikeDSmith25@1401 | 8 DEPENDS="" |
MikeDSmith25@1401 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
MikeDSmith25@1401 | 10 WEB_SITE="http://mama.indstate.edu/users/ice/tree/" |
MikeDSmith25@1401 | 11 WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL" |
MikeDSmith25@1401 | 12 |
MikeDSmith25@1401 | 13 # Rules to configure and make the package. |
MikeDSmith25@1401 | 14 compile_rules() |
MikeDSmith25@1401 | 15 { |
MikeDSmith25@1401 | 16 cd $src |
MikeDSmith25@1401 | 17 make |
MikeDSmith25@1401 | 18 make BINDIR=$PWD/_pkg/usr/bin MANDIR=$PWD/_pkg/usr/share/man install |
MikeDSmith25@1401 | 19 } |
MikeDSmith25@1401 | 20 |
MikeDSmith25@1401 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
MikeDSmith25@1401 | 22 genpkg_rules() |
MikeDSmith25@1401 | 23 { |
MikeDSmith25@1401 | 24 mkdir -p $fs/usr |
MikeDSmith25@1401 | 25 cp -a $_pkg/usr/bin $fs/usr |
MikeDSmith25@1401 | 26 strip -s $fs/usr/bin/* |
MikeDSmith25@1401 | 27 } |
MikeDSmith25@1401 | 28 |