wok-next view cmatrix/receipt @ rev 20424

linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 12 17:02:57 2018 +0200 (2018-01-12)
parents 17e313b5b9c1
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="cmatrix"
4 VERSION="1.2a"
5 CATEGORY="misc"
6 SHORT_DESC="Matrix screensaver."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.asty.org/cmatrix/"
11 WGET_URL="http://www.asty.org/cmatrix/dist/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 }