wok-next view qrencode/receipt @ rev 20092
Up opal (3.10.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 28 12:53:30 2017 +0200 (2017-10-28) |
parents | 765ba71df4e0 |
children | dd145c435e4b |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qrencode"
4 VERSION="3.4.4"
5 CATEGORY="misc"
6 SHORT_DESC="C library for encoding data in a QR Code symbol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://fukuchi.org/works/qrencode/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://fukuchi.org/works/qrencode/$TARBALL"
14 BUILD_DEPENDS="libpng-dev"
15 SPLIT="qrencode-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 qrencode)
28 copy @std
29 DEPENDS="libpng"
30 ;;
31 qrencode-dev)
32 copy @dev
33 DEPENDS="qrencode pkg-config"
34 ;;
35 esac
36 }