wok-current view npush/receipt @ rev 22903
updated gtk-xfce-engine (2.8.1 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 23 16:42:46 2020 +0100 (2020-02-23) |
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 }