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
875 B
Bash
30 lines
875 B
Bash
# Template file for 'enchant'
|
|
pkgname=enchant
|
|
version=1.6.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-zemberek --disable-ispell"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="glib-devel aspell-devel hunspell-devel"
|
|
short_desc="Generic spell checking library"
|
|
homepage="http://www.abisource.com/projects/enchant/"
|
|
license="LGPL-2.1"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="http://www.abisource.com/downloads/enchant/$version/enchant-$version.tar.gz"
|
|
checksum=2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
enchant-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/enchant/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|