wok view srcpd/receipt @ rev 10962

Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 20 10:22:35 2011 +0000 (2011-09-20)
parents e6b3a61b9f9a
children b7319995b37e
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://srcpd.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/srcpd.conf"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 ./configure \
20 --sysconfdir=/etc &&
21 make &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/etc $fs
31 }