wok-6.x diff srcpd/receipt @ rev 5390
Up: gtk+ (2.19.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 01 23:37:46 2010 +0200 (2010-05-01) |
parents | |
children | e6b3a61b9f9a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/srcpd/receipt Sat May 01 23:37:46 2010 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="srcpd" 1.7 +VERSION="2.0.12" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Simple Railroad Command Protocl Daemon." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base libxml2 zlib" 1.12 +BUILD_DEPENDS="slitaz-toolchain libxml2-dev zlib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://srcpd.sourceforge.net/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 +CONFIG_FILES="/etc/srcpd.conf" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + # Remove include that cause SliTaz builds to fail. 1.23 + sed -i 's:#include <linux/serial.h>::' \ 1.24 + $src/src/li100-main.c || exit 1 1.25 + sed -i 's:#include <sys/io.h>::' \ 1.26 + $src/src/li100-main.c || exit 1 1.27 + 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + --infodir=/usr/share/info \ 1.31 + --mandir=/usr/share/man \ 1.32 + --sysconfdir=/etc \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && 1.35 + make DESTDIR=$PWD/_pkg install 1.36 +} 1.37 + 1.38 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 +genpkg_rules() 1.40 +{ 1.41 + mkdir -p $fs/usr 1.42 + cp -a $_pkg/usr/sbin $fs/usr 1.43 + cp -a $_pkg/etc $fs 1.44 +}