wok-6.x view npush/receipt @ rev 23153
updated lxtask (0.1.8 -> 0.1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 16:52:17 2020 +0100 (2020-03-15) |
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 }