mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 17:33:26 +08:00
pcre updated for /lib clean-up, using 1 year old tar, no new soname
This commit is contained in:
parent
f239cfb835
commit
5b80fb7b4c
@ -1,40 +0,0 @@
|
||||
2010-03-24 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 8.02-1
|
||||
* Upstream update
|
||||
|
||||
2010-01-23 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 8.01-1
|
||||
* Upstream update
|
||||
|
||||
2009-10-26 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 8.00-1
|
||||
* Upstream update
|
||||
|
||||
2009-04-13 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 7.9-1
|
||||
* Upstream update
|
||||
|
||||
2008-10-19 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* Updated url
|
||||
|
||||
2008-09-05 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 7.8-1
|
||||
* Upstream update
|
||||
* Fixed license
|
||||
|
||||
2008-07-07 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 7.7-2
|
||||
* Added libpcre-7.7-buffer-overflow.patch to fix buffer overflow (close FS#10845)
|
||||
|
||||
2008-05-10 Eric Belanger <eric@archlinux.org>
|
||||
|
||||
* pcre 7.7-1
|
||||
* Upstream update
|
||||
* Added ChangeLog
|
@ -1,37 +1,36 @@
|
||||
#
|
||||
# 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>
|
||||
# maintainer abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=pcre
|
||||
pkgver=8.11
|
||||
pkgrel=2
|
||||
pkgver=8.21
|
||||
pkgrel=1
|
||||
pkgdesc="A library that implements Perl 5-style regular expressions"
|
||||
arch=('i686' 'x86_64')
|
||||
arch=('x86_64')
|
||||
url="http://www.pcre.org/"
|
||||
license=('BSD')
|
||||
depends=('gcc-libs')
|
||||
options=('!libtool')
|
||||
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
|
||||
md5sums=('ef907b8792ec7f90f0dcd773848f0b3b')
|
||||
sha1sums=('e9a9c2b2dfcf8606ad5c1fb5591801fa2cb771f5')
|
||||
source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2")
|
||||
md5sums=('0a7b592bea64b7aa7f4011fc7171a730')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
|
||||
./configure --prefix=/usr --enable-utf8 --enable-unicode-properties
|
||||
|
||||
export CFLAGS="${CFLAGS} -fPIC"
|
||||
./configure --prefix=/usr --enable-utf8 --enable-unicode-properties --enable-jit
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# grep uses pcre, so we need the libs in /lib
|
||||
install -dm755 "${pkgdir}"/lib
|
||||
mv "${pkgdir}"/usr/lib/libpcre.so.* "${pkgdir}"/lib/
|
||||
ln -sf ../../lib/libpcre.so.0 "${pkgdir}"/usr/lib/libpcre.so
|
||||
|
||||
install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user