wok view srcpd/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
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 }