wok-6.x view srcpd/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 7896f0694ef6 |
children | e919c5a2742d |
line source
1 # SliTaz package receipt.
3 PACKAGE="srcpd"
4 VERSION="2.1.3"
5 CATEGORY="games"
6 SHORT_DESC="Simple Railroad Command Protocol Daemon."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 WEB_SITE="http://srcpd.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base libxml2 zlib"
15 BUILD_DEPENDS="libxml2-dev zlib-dev"
17 CONFIG_FILES="/etc/srcpd.conf"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/etc $fs
36 }