new package: add package 'libplist'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-06 20:25:17 +01:00
parent 448a87cacd
commit ae01dec58e
3 changed files with 39 additions and 0 deletions

17
packages/devel/libplist/build Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
. config/options $1
# libplist fails to build with GOLD linker
strip_gold
cd $PKG_BUILD
mkdir -p build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DENABLE_PYTHON="OFF" \
..
make
$MAKEINSTALL

View File

@ -0,0 +1,6 @@
#!/bin/sh
. config/options $1
mkdir -p $INSTALL/usr/lib
cp -P $PKG_BUILD/build/src/*.so* $INSTALL/usr/lib

View File

@ -0,0 +1,16 @@
PKG_NAME="libplist"
PKG_VERSION="1.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://matt.colyer.name/projects/iphone-linux/"
PKG_URL="http://github.com/downloads/JonathanBeck/libplist/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="libxml2 glib"
PKG_BUILD_DEPENDS="toolchain libxml2 glib"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="libplist: a library for manipulating Apple Binary and XML Property Lists"
PKG_LONGDESC="libplist is a library for manipulating Apple Binary and XML Property Lists"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"