mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 04:37:18 +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
|
# Core Packages for Chakra, part of chakra-project.org
|
||||||
#
|
#
|
||||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
# maintainer abveritas[at]chakra-project[dot]org>
|
||||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
||||||
|
|
||||||
pkgname=pcre
|
pkgname=pcre
|
||||||
pkgver=8.11
|
pkgver=8.21
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="A library that implements Perl 5-style regular expressions"
|
pkgdesc="A library that implements Perl 5-style regular expressions"
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.pcre.org/"
|
url="http://www.pcre.org/"
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
|
source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2")
|
||||||
md5sums=('ef907b8792ec7f90f0dcd773848f0b3b')
|
md5sums=('0a7b592bea64b7aa7f4011fc7171a730')
|
||||||
sha1sums=('e9a9c2b2dfcf8606ad5c1fb5591801fa2cb771f5')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
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
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||||
make DESTDIR="${pkgdir}" install
|
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
|
install -Dm644 LICENCE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user