CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
diffutils: updated to 3.6
[crossrootfs.git]
/
libpcre
/
Pkgfile
diff --git
a/libpcre/Pkgfile
b/libpcre/Pkgfile
index 946f600d42785170dfcaa76901fb5c8cbbd52332..94e40883cf51824214e754166252a6a0ca6b7f45 100644
(file)
--- a/
libpcre/Pkgfile
+++ b/
libpcre/Pkgfile
@@
-1,24
+1,32
@@
# Description: Perl Compatible Regular Expressions
# URL: http://www.pcre.org
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: Perl Compatible Regular Expressions
# URL: http://www.pcre.org
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
name=libpcre
name=libpcre
-version=
7.9
+version=
8.40
release=1
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2)
release=1
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$version.tar.bz2)
+
build() {
cd pcre-$version
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
build() {
cd pcre-$version
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--enable-utf8 \
--enable-utf8 \
- --enable-unicode-properties
+ --enable-unicode-properties \
+ --enable-jit
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
- rm -r $PKG/usr/share
+ install -d $PKG/lib
+ mv $PKG/usr/lib/libpcre.so.* $PKG/lib
+ ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so
+
+ rm -r $PKG/usr/share/doc
+ rm $PKG/usr/share/man/man3/{pcre{16,32}*,pcre_utf{16,32}*}
}
}