mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
gettext: make it a bootstrap pkg; this now replaces chroot-gettext.
This commit is contained in:
parent
d96909d9c8
commit
464fbf9782
3 changed files with 15 additions and 29 deletions
|
@ -1,24 +0,0 @@
|
||||||
# Template build file for 'chroot-gettext'.
|
|
||||||
pkgname=chroot-gettext
|
|
||||||
version=0.19.4
|
|
||||||
revision=1
|
|
||||||
wrksrc="gettext-${version}"
|
|
||||||
bootstrap=yes
|
|
||||||
conflicts="gettext>=0"
|
|
||||||
provides="gettext-${version}_${revision}"
|
|
||||||
build_style=gnu-configure
|
|
||||||
configure_args="--disable-java --disable-native-java --disable-csharp
|
|
||||||
--disable-libasprintf --enable-threads=posix --disable-rpath
|
|
||||||
--disable-acl --with-included-glib --with-included-libcroco --without-git
|
|
||||||
--with-included-libxml --without-emacs --disable-shared --disable-nls
|
|
||||||
--disable-openmp --disable-curses gl_cv_func_gettimeofday_clobber=no"
|
|
||||||
homepage="http://www.gnu.org/software/gettext/"
|
|
||||||
license="GPL-3"
|
|
||||||
short_desc="Internationalized Message Handling tools -- for xbps-src use"
|
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
||||||
distfiles="http://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.gz"
|
|
||||||
checksum=8ac9f1ed1a5f8c4e656a2f37f5ba6b9ee04c4df79a575e876b0b6946aa417f3f
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/lib ${DESTDIR}/usr/include
|
|
||||||
}
|
|
1
srcpkgs/gettext-devel-examples
Symbolic link
1
srcpkgs/gettext-devel-examples
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gettext
|
|
@ -1,13 +1,16 @@
|
||||||
# Template file for 'gettext'
|
# Template file for 'gettext'
|
||||||
pkgname=gettext
|
pkgname=gettext
|
||||||
version=0.19.4
|
version=0.19.4
|
||||||
revision=4
|
revision=5
|
||||||
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-java --disable-native-java --disable-csharp
|
configure_args="--disable-java --disable-native-java --disable-csharp
|
||||||
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
|
--disable-libasprintf --enable-threads=posix --disable-rpath --without-emacs
|
||||||
--disable-openmp --with-included-libxml --with-included-libcroco"
|
--disable-openmp --with-included-libxml --with-included-libcroco
|
||||||
makedepends="ncurses-devel acl-devel"
|
--disable-acl --with-included-glib --with-included-libcroco --without-git
|
||||||
conflicts="chroot-gettext>=0"
|
--with-included-libxml --disable-nls --disable-openmp --disable-curses
|
||||||
|
--without-examples gl_cv_func_gettimeofday_clobber=no"
|
||||||
|
replaces="chroot-gettext>=0"
|
||||||
short_desc="Internationalized Message Handling Library and tools"
|
short_desc="Internationalized Message Handling Library and tools"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.gnu.org/software/gettext/"
|
homepage="http://www.gnu.org/software/gettext/"
|
||||||
|
@ -22,13 +25,19 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
gettext-devel-examples_package() {
|
||||||
|
noarch=yes
|
||||||
|
short_desc+=" - examples for development"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/doc/gettext
|
||||||
|
}
|
||||||
|
}
|
||||||
gettext-devel_package() {
|
gettext-devel_package() {
|
||||||
depends="gettext-libs>=${version}_${revision}"
|
depends="gettext-libs>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.a
|
vmove usr/lib/*.a
|
||||||
vmove usr/share/doc/gettext
|
|
||||||
vmove usr/share/aclocal
|
vmove usr/share/aclocal
|
||||||
vmove usr/share/gettext
|
vmove usr/share/gettext
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue