wok-next annotate Geomyidae/receipt @ rev 18862
Up tzdata(2016a)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 28 17:55:47 2016 +0200 (2016-01-28) |
parents | f4c22f009037 |
children | 45507bfb2b0d |
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" |
pascal@15201 | 8 LICENSE="MIT" |
samuel_trassare@13553 | 9 SOURCE="geomyidae" |
samuel_trassare@13553 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
allan316@3229 | 11 WEB_SITE="http://www.r-36.net" |
samuel_trassare@13553 | 12 WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL" |
allan316@3229 | 13 |
allan316@3229 | 14 # Rules to configure and make the package. |
allan316@3229 | 15 compile_rules() |
allan316@3229 | 16 { |
al@18803 | 17 # Move man page to the right place |
al@18803 | 18 sed -i 's|/man/|/share&|' $src/Makefile |
al@18803 | 19 |
pascal@15201 | 20 make && make DESTDIR=$DESTDIR install |
allan316@3229 | 21 } |
allan316@3229 | 22 |
allan316@3229 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3229 | 24 genpkg_rules() |
allan316@3229 | 25 { |
allan316@3229 | 26 mkdir -p $fs/usr $fs/var/gopher |
allan316@3229 | 27 cp -a $src/index.gph $fs/var/gopher/ |
pascal@15201 | 28 cp -a $install/usr/bin $fs/usr |
allan316@3229 | 29 } |
allan316@3229 | 30 |