35 lines
872 B
Bash
35 lines
872 B
Bash
# Template file for 'qrencode'
|
|
pkgname=qrencode
|
|
version=4.1.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="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://fukuchi.org/works/qrencode/index.html.en"
|
|
distfiles="https://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2"
|
|
checksum=ac7eff020d94be016d5b93bc6567f10a4a4692dcced901a384300f589a6cad0a
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" --with-tests"
|
|
fi
|
|
|
|
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.*"
|
|
}
|
|
}
|