wok-stable annotate phpqrcode/receipt @ rev 10839
pingus: clean receipt and fix compile_rules so it dont build if broken
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 08 23:38:19 2011 +0200 (2011-06-08) |
parents | |
children |
rev | line source |
---|---|
pascal@7858 | 1 # SliTaz package receipt. |
pascal@7858 | 2 |
pascal@7858 | 3 PACKAGE="phpqrcode" |
pascal@7858 | 4 VERSION="1.1.4" |
pascal@7858 | 5 CATEGORY="development" |
pascal@7858 | 6 SHORT_DESC="Library for generating QR Code, 2-dimensional barcode." |
pascal@7858 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7858 | 8 TARBALL="$PACKAGE-2010100721_$VERSION.zip" |
pascal@7858 | 9 WEB_SITE="http://phpqrcode.sourceforge.net/" |
pascal@7858 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@7858 | 11 DEPENDS="qrencode php-gd" |
pascal@7858 | 12 |
pascal@7858 | 13 # Rules to configure and make the package. |
pascal@7858 | 14 compile_rules() |
pascal@7858 | 15 { |
pascal@7858 | 16 mv phpqrcode $src 2> /dev/null |
pascal@7858 | 17 cd $src |
pascal@7858 | 18 } |
pascal@7858 | 19 |
pascal@7858 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7858 | 21 genpkg_rules() |
pascal@7858 | 22 { |
pascal@7858 | 23 mkdir -p $fs/usr/share/$PACKAGE |
pascal@7858 | 24 cp -a $src $fs//usr/share/$PACKAGE/ |
pascal@7858 | 25 } |
pascal@7858 | 26 |