wok view npush/receipt @ rev 21729

Add npush & oldrunner
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 12 18:55:55 2019 +0200 (2019-06-12)
parents
children c101210f8efc
line source
1 # SliTaz package receipt.
3 PACKAGE="npush"
4 VERSION="0.7"
5 CATEGORY="games"
6 SHORT_DESC="http://npush.sourceforge.net/"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://zsync.moria.org.uk/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
13 BUILD_DEPENDS="ncurses"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|"levels|"/usr/share/npush|' npush.cpp
19 sed -i 's|-lncurses|& -ltinfo|' Makefile
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share
27 cp -a $src/levels $fs/usr/share/npush
28 cp $src/npush $fs/usr/bin
29 }