wok-current view srcpd/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
parents 3b63ed3f8a01
children 40ff746a5f02
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 LICENSE="GPL2"
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 DEPENDS="glibc-base libxml2 zlib"
15 BUILD_DEPENDS="libxml2-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 ./configure $CONFIGURE_ARGS \
23 --sysconfdir=/etc &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/etc $fs
34 }