mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
liblangtag: fix for libtool>=2.4.6
Need to have gobject-introspection in hostmakedepends for autoreconf to work. Now it is there anyway, enable it for non-cross builds and keep usr/share/gir-1.0 in the -devel package.
This commit is contained in:
parent
90d3e77fb2
commit
93f432a83d
1 changed files with 12 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'liblangtag'
|
# Template file for 'liblangtag'
|
||||||
pkgname=liblangtag
|
pkgname=liblangtag
|
||||||
version=0.5.7
|
version=0.5.7
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="Interface library to access tags for identifying languages"
|
short_desc="Interface library to access tags for identifying languages"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
@ -9,11 +9,17 @@ license="LGPL-2, MPL"
|
||||||
homepage="http://tagoh.bitbucket.org/liblangtag"
|
homepage="http://tagoh.bitbucket.org/liblangtag"
|
||||||
distfiles="https://bitbucket.org/tagoh/${pkgname}/downloads/${pkgname}-${version}.tar.bz2"
|
distfiles="https://bitbucket.org/tagoh/${pkgname}/downloads/${pkgname}-${version}.tar.bz2"
|
||||||
makedepends="libxml2-devel"
|
makedepends="libxml2-devel"
|
||||||
hostmakedepends="libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config gobject-introspection"
|
||||||
|
configure_args="$(vopt_enable gir instrospection)"
|
||||||
checksum=f2b20d7b66c37e3be73feb67831195e5db16d0bb7df0d05c2e4bb96c4deb11cf
|
checksum=f2b20d7b66c37e3be73feb67831195e5db16d0bb7df0d05c2e4bb96c4deb11cf
|
||||||
|
|
||||||
|
build_options="gir"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="gir"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
libtoolize -f
|
autoreconf -if
|
||||||
}
|
}
|
||||||
|
|
||||||
liblangtag-devel_package() {
|
liblangtag-devel_package() {
|
||||||
|
@ -23,5 +29,8 @@ liblangtag-devel_package() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
vmove usr/share/gir-1.0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue