wok-current annotate cmatrix/receipt @ rev 12086
osmo: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:48:21 2012 -0500 (2012-03-09) |
parents | |
children | eb8067417980 |
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" |
paul@5285 | 8 DEPENDS="ncurses" |
paul@5285 | 9 BUILD_DEPENDS="ncurses-dev" |
paul@5285 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@5285 | 11 WEB_SITE="http://www.asty.org/cmatrix/" |
paul@5285 | 12 WGET_URL="http://www.asty.org/cmatrix/dist/$TARBALL" |
paul@5285 | 13 |
paul@5285 | 14 # Rules to configure and make the package. |
paul@5285 | 15 compile_rules() |
paul@5285 | 16 { |
paul@5285 | 17 cd $src |
paul@5285 | 18 ./configure \ |
paul@5285 | 19 --prefix=/usr \ |
paul@5285 | 20 --infodir=/usr/share/info \ |
paul@5285 | 21 --mandir=/usr/share/man \ |
paul@5285 | 22 $CONFIGURE_ARGS && |
paul@5285 | 23 make && make DESTDIR=$PWD/_pkg install |
paul@5285 | 24 } |
paul@5285 | 25 |
paul@5285 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5285 | 27 genpkg_rules() |
paul@5285 | 28 { |
paul@5285 | 29 mkdir -p $fs/usr |
paul@5285 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@5285 | 31 } |
paul@5285 | 32 |