wok view srcpd/receipt @ rev 7503

Add glib-dev to json-glib-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 04 04:52:31 2010 +0000 (2010-12-04)
parents 3b32c17e2f44
children 3e5f4a16c6dd
line source
1 # SliTaz package receipt.
3 PACKAGE="srcpd"
4 VERSION="2.1.1"
5 CATEGORY="games"
6 SHORT_DESC="Simple Railroad Command Protocl Daemon."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base libxml2 zlib"
9 BUILD_DEPENDS="slitaz-toolchain libxml2-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://srcpd.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 CONFIG_FILES="/etc/srcpd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 cp -a $_pkg/etc $fs
36 }