boost-regex: new port

This commit is contained in:
Danny Rawlins 2008-04-29 14:54:14 +10:00
parent e219f69baa
commit 1926e5a6e7
3 changed files with 39 additions and 0 deletions

6
boost-regex/.footprint Normal file
View File

@ -0,0 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libboost_regex-mt.a
-rwxr-xr-x root/root usr/lib/libboost_regex-mt.so
-rw-r--r-- root/root usr/lib/libboost_regex.a
-rwxr-xr-x root/root usr/lib/libboost_regex.so

1
boost-regex/.md5sum Normal file
View File

@ -0,0 +1 @@
2d938467e8a448a2c9763e0a9f8ca7e5 boost_1_34_1.tar.bz2

32
boost-regex/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: Regex library for boost.
# URL: http://www.boost.org/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Danny Rawlins, monster dot romster at gmail dot com
# Depends on: boost-jam icu
name=boost-regex
version=1.34.1
release=1
source=(http://dl.sourceforge.net/sourceforge/boost/boost_${version//./_}.tar.bz2)
build() {
cd boost_${version//./_}/libs/regex/build
bjam \
release \
debug-symbols=off \
threading=single,multi \
runtime-link=shared \
link=shared,static \
--without-python \
--toolset=gcc \
--layout=system \
-sHAVE_ICU=1
cd ../../../bin.v2/libs/regex/build/gcc-`gcc -dumpversion`/release
install -d $PKG/usr/lib
install -m 0755 libboost_regex.so threading-multi/libboost_regex-mt.so -t $PKG/usr/lib/
install -m 0644 link-static/libboost_regex.a link-static/threading-multi/libboost_regex-mt.a -t $PKG/usr/lib/
}