wok-current annotate Geomyidae/receipt @ rev 13585
sbxkb: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 06 12:55:04 2012 +0100 (2012-11-06) |
parents | 4cd615959f41 |
children | f4c22f009037 |
rev | line source |
---|---|
allan316@3229 | 1 # SliTaz package receipt. |
allan316@3229 | 2 |
allan316@3229 | 3 PACKAGE="Geomyidae" |
samuel_trassare@13553 | 4 VERSION="0.26.1" |
allan316@3229 | 5 CATEGORY="network" |
samuel_trassare@13553 | 6 SHORT_DESC="Geomyidae is a daemon for serving the Gopher protocol." |
allan316@3229 | 7 MAINTAINER="allan316@gmail.com" |
samuel_trassare@13553 | 8 SOURCE="geomyidae" |
samuel_trassare@13553 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
allan316@3229 | 10 WEB_SITE="http://www.r-36.net" |
samuel_trassare@13553 | 11 WGET_URL="$WEB_SITE/src/$PACKAGE/$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 |