wok-current annotate phpqrcode/receipt @ rev 7858
Add phpqrcode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 31 15:36:06 2010 +0100 (2010-12-31) |
parents | |
children | 78cb1e930abd |
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 |