wok-current annotate cmatrix/receipt @ rev 17670
Add missing -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 17 09:42:47 2015 +0100 (2015-02-17) |
parents | eb8067417980 |
children | 39567aac1197 |
rev | line source |
---|---|
paul@5285 | 1 # SliTaz package receipt. |
paul@5285 | 2 |
paul@5285 | 3 PACKAGE="cmatrix" |
paul@5285 | 4 VERSION="1.2a" |
paul@5285 | 5 CATEGORY="misc" |
paul@5285 | 6 SHORT_DESC="Matrix screensaver." |
paul@5285 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
paul@5285 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@5285 | 10 WEB_SITE="http://www.asty.org/cmatrix/" |
paul@5285 | 11 WGET_URL="http://www.asty.org/cmatrix/dist/$TARBALL" |
paul@5285 | 12 |
pascal@15579 | 13 DEPENDS="ncurses" |
pascal@15579 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@15579 | 15 |
paul@5285 | 16 # Rules to configure and make the package. |
paul@5285 | 17 compile_rules() |
paul@5285 | 18 { |
pascal@17670 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
paul@5285 | 20 ./configure \ |
paul@5285 | 21 --prefix=/usr \ |
paul@5285 | 22 --infodir=/usr/share/info \ |
paul@5285 | 23 --mandir=/usr/share/man \ |
paul@5285 | 24 $CONFIGURE_ARGS && |
pascal@15579 | 25 make && make DESTDIR=$DESTDIR install |
paul@5285 | 26 } |
paul@5285 | 27 |
paul@5285 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5285 | 29 genpkg_rules() |
paul@5285 | 30 { |
paul@5285 | 31 mkdir -p $fs/usr |
pascal@15579 | 32 cp -a $install/usr/bin $fs/usr |
paul@5285 | 33 } |