wok-current annotate libplist/receipt @ rev 23286
updated perl-algorithm-permute (0.12 -> 0.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 14:45:23 2020 +0100 (2020-03-29) |
parents | 789d2c8a6a45 |
children | ede1d184d5c5 |
rev | line source |
---|---|
slaxemulator@6348 | 1 # SliTaz package receipt. |
slaxemulator@6348 | 2 |
slaxemulator@6348 | 3 PACKAGE="libplist" |
Hans-G?nter@21273 | 4 VERSION="2.0.0" |
slaxemulator@6348 | 5 CATEGORY="multimedia" |
Hans-G?nter@21273 | 6 SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XML" |
slaxemulator@6348 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14716 | 8 LICENSE="GPL2" |
Hans-G?nter@21273 | 9 WEB_SITE="https://libimobiledevice.org/" |
Hans-G?nter@21273 | 10 |
slaxemulator@6348 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@10215 | 12 WGET_URL="http://www.libimobiledevice.org/downloads/$TARBALL" |
slaxemulator@6348 | 13 |
pascal@14716 | 14 DEPENDS="glib libxml2" |
Hans-G?nter@21273 | 15 #BUILD_DEPENDS="glib-dev libxml2-dev cmake swig python python-dev " |
Hans-G?nter@21276 | 16 BUILD_DEPENDS="file glib-dev libxml2-dev python python-dev" |
pascal@14716 | 17 |
slaxemulator@6348 | 18 # Rules to configure and make the package. |
slaxemulator@6348 | 19 compile_rules() |
slaxemulator@6348 | 20 { |
Hans-G?nter@21273 | 21 # cd $src |
Hans-G?nter@21273 | 22 # mkdir build |
Hans-G?nter@21273 | 23 # cd build |
Hans-G?nter@21273 | 24 # cmake ../ -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr |
Hans-G?nter@21273 | 25 ./configure && |
Hans-G?nter@21273 | 26 make -j 1 && |
Hans-G?nter@21273 | 27 make DESTDIR=$DESTDIR install |
slaxemulator@6348 | 28 } |
slaxemulator@6348 | 29 |
slaxemulator@6348 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6348 | 31 genpkg_rules() |
slaxemulator@6348 | 32 { |
slaxemulator@6348 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@21273 | 34 |
Hans-G?nter@21273 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
Hans-G?nter@21275 | 36 # cp -a $install/usr/lib/python* $fs/usr/lib |
Hans-G?nter@21273 | 37 cp -a $install/usr/bin $fs/usr |
slaxemulator@6348 | 38 } |