void-packages/srcpkgs/qrencode/template

36 lines
827 B
Text
Raw Normal View History

2012-10-22 21:23:22 +00:00
# Template file for 'qreconde'
pkgname=qrencode
2013-03-09 14:40:34 +00:00
version=3.4.2
2013-04-30 09:36:08 +00:00
revision=3
2012-10-22 21:23:22 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config"
2013-04-30 09:36:08 +00:00
makedepends="libpng-devel>=1.6"
2012-10-22 21:23:22 +00: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-03-09 14:40:34 +00:00
checksum=fc492a506a1460c1ce850ff6137db55cb2e3d466f4c559108aae3a96d623c1b1
qrencode-devel_package() {
depends="libqrencode-${version}_${revision}"
2013-04-30 09:36:08 +00:00
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
libqrencode_package() {
2013-04-30 09:36:08 +00:00
short_desc+=" -- runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
qrencode_package() {
pkg_install() {
vmove usr
}
}