That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
30 lines
788 B
Bash
30 lines
788 B
Bash
# Template file for 'qreconde'
|
|
pkgname=qrencode
|
|
version=3.4.4
|
|
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@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"
|
|
checksum=efe5188b1ddbcbf98763b819b146be6a90481aac30cfc8d858ab78a19cde1fa5
|
|
|
|
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.*"
|
|
}
|
|
}
|