PKGBUILDs/core/pcre/PKGBUILD

27 lines
768 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 17:10:12 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=pcre
pkgver=7.9
pkgrel=3
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=(arm)
url="http://pcre.sourceforge.net"
license=('BSD')
groups=('base')
depends=('gcc-libs')
options=('!libtool' '!makeflags')
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2)
md5sums=('b6a9669d1863423f01ea46cdf00f93dc')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2009-09-26 17:10:12 +00:00
./configure --prefix=/opt \
2009-09-26 14:35:50 +00:00
--enable-utf8 --enable-unicode-properties || return 1
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 LICENCE \
2009-09-26 17:10:12 +00:00
${pkgdir}/opt/share/licenses/${pkgname}/LICENSE || return 1
2009-09-26 14:35:50 +00:00
}