wok-next annotate Geomyidae/receipt @ rev 17199
Up rsync (3.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 19:19:04 2014 +0200 (2014-10-08) |
parents | 14d7ba023d04 |
children | dfc51ce7954a |
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 { |
allan316@3229 | 17 cd $src |
pascal@15201 | 18 make && make DESTDIR=$DESTDIR install |
allan316@3229 | 19 } |
allan316@3229 | 20 |
allan316@3229 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3229 | 22 genpkg_rules() |
allan316@3229 | 23 { |
allan316@3229 | 24 mkdir -p $fs/usr $fs/var/gopher |
allan316@3229 | 25 cp -a $src/index.gph $fs/var/gopher/ |
pascal@15201 | 26 cp -a $install/usr/bin $fs/usr |
allan316@3229 | 27 } |
allan316@3229 | 28 |