2012-10-22 23:23:22 +02:00
|
|
|
# Template file for 'qreconde'
|
|
|
|
pkgname=qrencode
|
2013-08-12 15:06:33 +02:00
|
|
|
version=3.4.3
|
|
|
|
revision=1
|
2012-10-22 23:23:22 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2013-04-30 11:36:08 +02:00
|
|
|
makedepends="libpng-devel>=1.6"
|
2012-10-22 23:23:22 +02:00
|
|
|
short_desc="Library for encoding data in a QR Code symbol"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://fukuchi.org/works/qrencode/index.html.en"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2"
|
2013-08-12 15:06:33 +02:00
|
|
|
checksum=dfd71487513c871bad485806bfd1fdb304dedc84d2b01a8fb8e0940b50597a98
|
2013-04-14 11:26:34 +02:00
|
|
|
|
|
|
|
qrencode-devel_package() {
|
|
|
|
depends="libqrencode-${version}_${revision}"
|
2013-08-12 15:06:33 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 11:26:34 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-12 15:06:33 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 11:26:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libqrencode_package() {
|
2013-08-12 15:06:33 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 11:26:34 +02:00
|
|
|
pkg_install() {
|
2013-08-12 15:06:33 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 11:26:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
qrencode_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|