wok-6.x rev 7857
Add qrencode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 31 15:35:44 2010 +0100 (2010-12-31) |
parents | 79af31ccc3e7 |
children | e4ac1a10c7be |
files | qrencode-dev/receipt qrencode/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qrencode-dev/receipt Fri Dec 31 15:35:44 2010 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qrencode-dev" 1.7 +VERSION="3.1.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="C library for encoding data in a QR Code symbol, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://megaui.net/fukuchi/works/qrencode/index.en.html" 1.12 +WANTED="qrencode" 1.13 +DEPENDS="qrencode" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/lib*a $fs/usr/lib 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/qrencode/receipt Fri Dec 31 15:35:44 2010 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="qrencode" 2.7 +VERSION="3.1.1" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="C library for encoding data in a QR Code symbol." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://megaui.net/fukuchi/works/qrencode/index.en.html" 2.13 +WGET_URL="http://megaui.net/fukuchi/works/qrencode/$TARBALL" 2.14 +DEPENDS="libpng" 2.15 +BUILD_DEPENDS="libpng-dev" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.22 + --mandir=/usr/share/man \ 2.23 + $CONFIGURE_ARGS && 2.24 + make && 2.25 + make DESTDIR=$PWD/_pkg install 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs/usr/lib 2.32 + cp -a $_pkg/usr/bin $fs/usr 2.33 + cp -a $_pkg/usr/lib/lib*so* $fs/usr/lib 2.34 +}