wok-6.x annotate srcpd/receipt @ rev 19116
htop: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 07 16:46:59 2016 +0200 (2016-05-07) |
parents | 3b63ed3f8a01 |
children | 40ff746a5f02 |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
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 |
pascal@15002 | 14 DEPENDS="glibc-base libxml2 zlib" |
pascal@15002 | 15 BUILD_DEPENDS="libxml2-dev zlib-dev" |
pascal@15002 | 16 |
rcx@3299 | 17 # Rules to configure and make the package. |
rcx@3299 | 18 compile_rules() |
rcx@3299 | 19 { |
rcx@3299 | 20 cd $src |
rcx@3299 | 21 |
gokhlayeh@11573 | 22 ./configure $CONFIGURE_ARGS \ |
slaxemulator@8987 | 23 --sysconfdir=/etc && |
slaxemulator@8987 | 24 make && |
slaxemulator@8987 | 25 make install |
rcx@3299 | 26 } |
rcx@3299 | 27 |
rcx@3299 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3299 | 29 genpkg_rules() |
rcx@3299 | 30 { |
rcx@3299 | 31 mkdir -p $fs/usr |
pascal@15002 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@15002 | 33 cp -a $install/etc $fs |
rcx@3299 | 34 } |