new bblfs: sys-dev/gettext-0.26
This commit is contained in:
57
sys-dev/gettext-0.26.PKGBUILD
Normal file
57
sys-dev/gettext-0.26.PKGBUILD
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
pkgname=gettext
|
||||||
|
pkgver=0.26
|
||||||
|
pkgdesc="GNU internationalization library"
|
||||||
|
homepage="https://www.gnu.org/software/gettext/"
|
||||||
|
license=(
|
||||||
|
GFDL-1.2-only
|
||||||
|
GPL-2.0-only
|
||||||
|
GPL-2.0-or-later
|
||||||
|
LGPL-2.0-only
|
||||||
|
)
|
||||||
|
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||||
|
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||||
|
md5sums=("8e14e926f088e292f5f2bce95b81d10e")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
CFLAGS+=" -Wno-error=format-security"
|
||||||
|
local conf_args=(
|
||||||
|
--prefix=/usr
|
||||||
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||||
|
--without-emacs
|
||||||
|
--without-lispdir
|
||||||
|
--with-included-glib
|
||||||
|
--with-included-libcroco
|
||||||
|
--with-included-libunistring
|
||||||
|
--without-included-gettext
|
||||||
|
--without-included-libxml
|
||||||
|
--disable-csharp
|
||||||
|
--without-cvs
|
||||||
|
--enable-acl
|
||||||
|
--enable-c++
|
||||||
|
--enable-libasprintf
|
||||||
|
--without-git
|
||||||
|
--without-java
|
||||||
|
--enable-curses
|
||||||
|
--enable-nls
|
||||||
|
--enable-openmp
|
||||||
|
--disable-static
|
||||||
|
--disable-attr
|
||||||
|
)
|
||||||
|
./configure "${conf_args[@]}"
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
src_check() {
|
||||||
|
make -k check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
#chmod -v 0755 "${pkgdir}/usr/lib/preloadable_libintl.so"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:ft=sh syn=sh et sw=2:
|
||||||
Reference in New Issue
Block a user