wok annotate Geomyidae/receipt @ rev 4269
linux: list_modules.sh should be bash compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 20:04:15 2009 +0200 (2009-09-25) |
parents | |
children | 14d7ba023d04 |
rev | line source |
---|---|
allan316@3229 | 1 # SliTaz package receipt. |
allan316@3229 | 2 |
allan316@3229 | 3 PACKAGE="Geomyidae" |
allan316@3229 | 4 VERSION="0.13" |
allan316@3229 | 5 CATEGORY="network" |
allan316@3229 | 6 SHORT_DESC="A gopher server" |
allan316@3229 | 7 MAINTAINER="allan316@gmail.com" |
allan316@3229 | 8 DEPENDS="" |
allan316@3229 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
allan316@3229 | 10 WEB_SITE="http://www.r-36.net" |
allan316@3229 | 11 WGET_URL="http://www.in2dwok.com/downloads/$TARBALL" |
allan316@3229 | 12 |
allan316@3229 | 13 # Rules to configure and make the package. |
allan316@3229 | 14 compile_rules() |
allan316@3229 | 15 { |
allan316@3229 | 16 cd $src |
allan316@3229 | 17 make && make DESTDIR=$PWD/_pkg install |
allan316@3229 | 18 } |
allan316@3229 | 19 |
allan316@3229 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3229 | 21 genpkg_rules() |
allan316@3229 | 22 { |
allan316@3229 | 23 mkdir -p $fs/usr $fs/var/gopher |
allan316@3229 | 24 cp -a $src/index.gph $fs/var/gopher/ |
allan316@3229 | 25 cp -a $_pkg/usr/bin $fs/usr |
allan316@3229 | 26 } |
allan316@3229 | 27 |