void-packages/srcpkgs/qrencode/template
2017-09-29 10:39:38 +00:00

30 lines
791 B
Bash

# Template file for 'qreconde'
pkgname=qrencode
version=4.0.0
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>"
homepage="http://fukuchi.org/works/qrencode/index.html.en"
license="LGPL-2.1"
distfiles="http://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2"
checksum=c90035e16921117d4086a7fdee65aab85be32beb4a376f6b664b8a425d327d0b
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.*"
}
}