mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
Merge branch 'testing' of gitorious.org:chakra-packages/core into testing
This commit is contained in:
commit
6b07699594
@ -1,29 +1,35 @@
|
||||
# $Id: PKGBUILD 77824 2010-04-18 10:04:36Z allan $
|
||||
# Maintainer:
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=gettext
|
||||
pkgver=0.17
|
||||
pkgrel=4
|
||||
pkgver=0.18.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="GNU internationalization library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnu.org/software/gettext"
|
||||
license=('GPL')
|
||||
groups=('base')
|
||||
depends=('gcc-libs' 'acl' 'sh')
|
||||
depends=('gcc-libs' 'acl' 'sh' 'glib2')
|
||||
optdepends=('cvs: for autopoint tool')
|
||||
options=(!libtool)
|
||||
install=gettext.install
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/gettext/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('58a2bc6d39c0ba57823034d55d65d606')
|
||||
md5sums=('3dd55b952826d2b32f51308f2f91aa89')
|
||||
|
||||
build() {
|
||||
cd $srcdir/${pkgname}-${pkgver}
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
sed -i -e 's/libexpat.so.0/libexpat.so.1/' gettext-tools/src/x-glade.c
|
||||
./configure --prefix=/usr --enable-csharp
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/${pkgname}-${pkgver}
|
||||
make DESTDIR=$pkgdir install
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user