wok-next view cmatrix/receipt @ rev 17733

linux-libre: build all modules packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 10:51:35 2015 +0100 (2015-03-06)
parents eb8067417980
children 466bca9334ef
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 export LDFLAGS="$LDFLAGS -ltinfo"
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }