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