wok-next diff srcpd/receipt @ rev 20655
Up boxbackup (0.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 04 14:33:10 2018 +0300 (2018-05-04) |
parents | 7896f0694ef6 |
children | d5aab818505e |
line diff
1.1 --- a/srcpd/receipt Sat Aug 10 21:12:16 2013 +0000 1.2 +++ b/srcpd/receipt Fri May 04 14:33:10 2018 +0300 1.3 @@ -1,34 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="srcpd" 1.8 VERSION="2.1.1" 1.9 CATEGORY="games" 1.10 -SHORT_DESC="Simple Railroad Command Protocl Daemon." 1.11 +SHORT_DESC="Simple Railroad Command Protocl Daemon" 1.12 MAINTAINER="rcx@zoominternet.net" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://srcpd.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://srcpd.sourceforge.net/" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 -CONFIG_FILES="/etc/srcpd.conf" 1.20 1.21 -DEPENDS="glibc-base libxml2 zlib" 1.22 BUILD_DEPENDS="libxml2-dev zlib-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - 1.29 - ./configure $CONFIGURE_ARGS \ 1.30 - --sysconfdir=/etc && 1.31 +compile_rules() { 1.32 + ./configure $CONFIGURE_ARGS && 1.33 make && 1.34 make install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr 1.41 - cp -a $install/usr/sbin $fs/usr 1.42 - cp -a $install/etc $fs 1.43 +genpkg_rules() { 1.44 + copy @std 1.45 + DEPENDS="glibc-base libxml2 zlib" 1.46 + CONFIG_FILES="/etc/srcpd.conf" 1.47 }