pcre: add metafile support, cleanups, thanks to cowbalt

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-13 14:26:51 +01:00
parent c9dbcf5793
commit 5224135fed
4 changed files with 15 additions and 4 deletions

View File

@ -2,8 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -3,5 +3,5 @@
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/.libs/libpcre*.so*[.0-9] $INSTALL/usr/lib
cp -P $PKG_BUILD/.libs/libpcre*.so*[.0-9] $INSTALL/usr/lib

14
packages/devel/pcre/meta Normal file
View File

@ -0,0 +1,14 @@
PKG_NAME="pcre"
PKG_VERSION="8.10"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.pcre.org/"
PKG_URL="http://downloads.sourceforge.net/project/pcre/pcre/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="pcre: Perl Compatible Regulat Expressions"
PKG_LONGDESC="The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. PCRE has its own native API, as well as a set of wrapper functions that correspond to the POSIX regular expression API. The PCRE library is free, even for building commercial software."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://downloads.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.tar.bz2