wok annotate srcpd/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 3e5f4a16c6dd |
children | 3b63ed3f8a01 |
rev | line source |
---|---|
rcx@3299 | 1 # SliTaz package receipt. |
rcx@3299 | 2 |
rcx@3299 | 3 PACKAGE="srcpd" |
rcx@6011 | 4 VERSION="2.1.1" |
rcx@3299 | 5 CATEGORY="games" |
rcx@3299 | 6 SHORT_DESC="Simple Railroad Command Protocl Daemon." |
rcx@3299 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3299 | 8 DEPENDS="glibc-base libxml2 zlib" |
rcx@3299 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3299 | 10 WEB_SITE="http://srcpd.sourceforge.net/" |
rcx@3299 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
rcx@3299 | 12 CONFIG_FILES="/etc/srcpd.conf" |
rcx@3299 | 13 |
rcx@3299 | 14 # Rules to configure and make the package. |
rcx@3299 | 15 compile_rules() |
rcx@3299 | 16 { |
rcx@3299 | 17 cd $src |
rcx@3299 | 18 |
gokhlayeh@11573 | 19 ./configure $CONFIGURE_ARGS \ |
slaxemulator@8987 | 20 --sysconfdir=/etc && |
slaxemulator@8987 | 21 make && |
slaxemulator@8987 | 22 make install |
rcx@3299 | 23 } |
rcx@3299 | 24 |
rcx@3299 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3299 | 26 genpkg_rules() |
rcx@3299 | 27 { |
rcx@3299 | 28 mkdir -p $fs/usr |
rcx@3299 | 29 cp -a $_pkg/usr/sbin $fs/usr |
rcx@3299 | 30 cp -a $_pkg/etc $fs |
rcx@3299 | 31 } |