wok-6.x view srcpd/receipt @ rev 7629
evince: build doc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 12 22:50:26 2010 +0100 (2010-12-12) |
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 }