wok-stable diff Geomyidae/receipt @ rev 7739
Added pre_install and post_remove to hd2u.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 20 08:07:07 2010 +0000 (2010-12-20) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Geomyidae/receipt Mon Dec 20 08:07:07 2010 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Geomyidae" 1.7 +VERSION="0.13" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="A gopher server" 1.10 +MAINTAINER="allan316@gmail.com" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tgz" 1.13 +WEB_SITE="http://www.r-36.net" 1.14 +WGET_URL="http://www.in2dwok.com/downloads/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + make && make DESTDIR=$PWD/_pkg install 1.21 +} 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + mkdir -p $fs/usr $fs/var/gopher 1.27 + cp -a $src/index.gph $fs/var/gopher/ 1.28 + cp -a $_pkg/usr/bin $fs/usr 1.29 +} 1.30 +