wok view npush/receipt @ rev 21730
Add npush & oldrunner (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 12 19:02:03 2019 +0200 (2019-06-12) |
parents | 861efbf7a5de |
children | afae00265386 |
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 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|"levels|"/usr/share/npush|' npush.cpp
20 sed -i 's|-lncurses|& -ltinfo|' Makefile
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/share
28 cp -a $src/levels $fs/usr/share/npush
29 cp $src/npush $fs/usr/bin
30 }