wok-next annotate perl-test-number-delta/receipt @ rev 3283
linuxqq: Change category into non-free
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Wed Jun 03 12:30:42 2009 +0800 (2009-06-03) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-test-number-delta" |
claudinei@3179 | 4 SOURCE="Test-Number-Delta" |
claudinei@3179 | 5 VERSION="1.03" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Compare the difference between numbers against a given tolerance." |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3179 | 9 DEPENDS="perl" |
claudinei@3179 | 10 BUILD_DEPENDS="perl" |
claudinei@3179 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3179 | 12 WEB_SITE="http://cpan.org/" |
claudinei@3179 | 13 WGET_URL="http://cpan.org/authors/id/D/DA/DAGOLDEN/$TARBALL" |
claudinei@3179 | 14 |
claudinei@3179 | 15 # Rules to configure and make the package. |
claudinei@3179 | 16 compile_rules() |
claudinei@3179 | 17 { |
claudinei@3179 | 18 cd $src |
claudinei@3179 | 19 perl Makefile.PL && |
claudinei@3179 | 20 make && |
claudinei@3179 | 21 make DESTDIR=$PWD/_pkg install |
claudinei@3179 | 22 } |
claudinei@3179 | 23 |
claudinei@3179 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 25 genpkg_rules() |
claudinei@3179 | 26 { |
claudinei@3179 | 27 mkdir -p $fs/usr |
claudinei@3179 | 28 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3179 | 29 } |
claudinei@3179 | 30 |