wok annotate Geomyidae/receipt @ rev 21203

Up dropbear (2019.78)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 07 14:20:01 2019 +0200 (2019-04-07)
parents c66922837e6c
children a3b6dd3aac6f
rev   line source
allan316@3229 1 # SliTaz package receipt.
allan316@3229 2
allan316@3229 3 PACKAGE="Geomyidae"
Hans-G?nter@20717 4 VERSION="0.34"
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"
Hans-G?nter@20717 9 WEB_SITE="http://www.r-36.net/"
Hans-G?nter@20717 10
samuel_trassare@13553 11 SOURCE="geomyidae"
Hans-G?nter@20717 12 TARBALL="$SOURCE-v$VERSION.tgz"
Hans-G?nter@20717 13 #WGET_URL="${WEB_SITE}src/$PACKAGE/$TARBALL"
Hans-G?nter@20717 14 WGET_URL="ftp://bitreich.org/releases/$SOURCE/$TARBALL"
allan316@3229 15
allan316@3229 16 # Rules to configure and make the package.
allan316@3229 17 compile_rules()
allan316@3229 18 {
Hans-G?nter@20717 19 make CC=gcc PREFIX=/usr &&
Hans-G?nter@20717 20 make install \
Hans-G?nter@20718 21 PREFIX=/usr \
Hans-G?nter@20717 22 DESTDIR=$DESTDIR || exit 1
allan316@3229 23 }
allan316@3229 24
allan316@3229 25 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3229 26 genpkg_rules()
allan316@3229 27 {
allan316@3229 28 mkdir -p $fs/usr $fs/var/gopher
allan316@3229 29 cp -a $src/index.gph $fs/var/gopher/
pascal@15201 30 cp -a $install/usr/bin $fs/usr
allan316@3229 31 }