mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
added lib32-gettext, version 0.18.1.1
This commit is contained in:
parent
12be3d9ffb
commit
b89f32452a
36
lib32-gettext/PKGBUILD
Normal file
36
lib32-gettext/PKGBUILD
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
||||||
|
#
|
||||||
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||||
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||||||
|
|
||||||
|
_pkgbasename=gettext
|
||||||
|
pkgname=lib32-$_pkgbasename
|
||||||
|
pkgver=0.18.1.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="GNU internationalization library (32-bit)"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="http://www.gnu.org/software/gettext/"
|
||||||
|
license=('GPL')
|
||||||
|
depends=('lib32-acl' $_pkgbasename)
|
||||||
|
makedepends=(gcc-multilib)
|
||||||
|
optdepends=('cvs: for autopoint tool')
|
||||||
|
options=(!libtool !docs)
|
||||||
|
source=(ftp://ftp.gnu.org/pub/gnu/gettext/${_pkgbasename}-${pkgver}.tar.gz)
|
||||||
|
md5sums=('3dd55b952826d2b32f51308f2f91aa89')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CC="gcc -m32"
|
||||||
|
export CXX="g++ -m32"
|
||||||
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||||
|
|
||||||
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||||
|
sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
|
||||||
|
./configure --prefix=/usr --enable-csharp --libdir=/usr/lib32
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
rm -rf "${pkgdir}"/usr/{bin,include,share}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user