wok annotate srcpd/receipt @ rev 4161

Fix: librsvg FSH, update and split apps
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 22 15:06:14 2009 +0200 (2009-09-22)
parents
children e6b3a61b9f9a
rev   line source
rcx@3299 1 # SliTaz package receipt.
rcx@3299 2
rcx@3299 3 PACKAGE="srcpd"
rcx@3299 4 VERSION="2.0.12"
rcx@3299 5 CATEGORY="games"
rcx@3299 6 SHORT_DESC="Simple Railroad Command Protocl Daemon."
rcx@3299 7 MAINTAINER="rcx@zoominternet.net"
rcx@3299 8 DEPENDS="glibc-base libxml2 zlib"
rcx@3299 9 BUILD_DEPENDS="slitaz-toolchain libxml2-dev zlib-dev"
rcx@3299 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3299 11 WEB_SITE="http://srcpd.sourceforge.net/"
rcx@3299 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
rcx@3299 13 CONFIG_FILES="/etc/srcpd.conf"
rcx@3299 14
rcx@3299 15 # Rules to configure and make the package.
rcx@3299 16 compile_rules()
rcx@3299 17 {
rcx@3299 18 cd $src
rcx@3299 19 # Remove include that cause SliTaz builds to fail.
rcx@3299 20 sed -i 's:#include <linux/serial.h>::' \
rcx@3299 21 $src/src/li100-main.c || exit 1
rcx@3299 22 sed -i 's:#include <sys/io.h>::' \
rcx@3299 23 $src/src/li100-main.c || exit 1
rcx@3299 24
rcx@3299 25 ./configure \
rcx@3299 26 --prefix=/usr \
rcx@3299 27 --infodir=/usr/share/info \
rcx@3299 28 --mandir=/usr/share/man \
rcx@3299 29 --sysconfdir=/etc \
rcx@3299 30 $CONFIGURE_ARGS &&
rcx@3299 31 make &&
rcx@3299 32 make DESTDIR=$PWD/_pkg install
rcx@3299 33 }
rcx@3299 34
rcx@3299 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3299 36 genpkg_rules()
rcx@3299 37 {
rcx@3299 38 mkdir -p $fs/usr
rcx@3299 39 cp -a $_pkg/usr/sbin $fs/usr
rcx@3299 40 cp -a $_pkg/etc $fs
rcx@3299 41 }