wok-next annotate Geomyidae/receipt @ rev 19275
Check manpages... from start to beaver.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 05 15:34:01 2016 +0300 (2016-07-05) |
parents | 45507bfb2b0d |
children | a8e106e92cc2 |
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" |
al@19275 | 11 WEB_SITE="http://www.r-36.net/" |
al@19275 | 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 } |