void-packages/srcpkgs/qrencode/template
2018-06-09 15:23:27 +02:00

30 lines
800 B
Bash

# Template file for 'qrencode'
pkgname=qrencode
version=4.0.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libpng-devel"
short_desc="Library for encoding data in a QR Code symbol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://fukuchi.org/works/qrencode/index.html.en"
distfiles="http://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2"
checksum=c9cb278d3b28dcc36b8d09e8cad51c0eca754eb004cb0247d4703cb4472b58b4
qrencode-devel_package() {
depends="libqrencode-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libqrencode_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}