wok annotate tinyxml/receipt @ rev 17573
Up: icu 54.1
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 21:10:31 2015 +0000 (2015-02-07) |
parents | 59d50f859d0d |
children | d3eb5f4b53ea |
rev | line source |
---|---|
pankso@16372 | 1 # SliTaz package receipt. |
pankso@16372 | 2 |
pankso@16372 | 3 PACKAGE="tinyxml" |
pankso@16372 | 4 VERSION="2_6_2" |
pankso@16372 | 5 CATEGORY="system-tools" |
pankso@16372 | 6 SHORT_DESC="TinyXML is a simple, small, C++ XML parser." |
pankso@16372 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16372 | 8 LICENSE="GPL2" |
pankso@16372 | 9 TARBALL="${PACKAGE}_$VERSION.zip" |
pankso@16372 | 10 WEB_SITE="http://wiki.lxde.org/en/LXMusic" |
pankso@16372 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/2.6.2/$TARBALL" |
pankso@16379 | 12 #HOST_ARCH="i486 arm" |
pankso@16372 | 13 |
pankso@16372 | 14 # Rules to configure and make the package. |
pankso@16372 | 15 compile_rules() |
pankso@16372 | 16 { |
pankso@16372 | 17 make && |
pankso@16372 | 18 ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \ |
pankso@16379 | 19 -o libtinyxml.so.0.2.6.2 \ |
pankso@16372 | 20 -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest) |
pankso@16372 | 21 } |
pankso@16372 | 22 |
pankso@16372 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 24 genpkg_rules() |
pankso@16372 | 25 { |
pankso@16372 | 26 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@16372 | 27 cp -a ${src}/xmltest $fs/usr/bin |
pankso@16372 | 28 cp -a ${src}/*.so* $fs/usr/lib |
pankso@16372 | 29 cd $fs/usr/lib |
pankso@16372 | 30 ln -s libtinyxml.so.0.2.6.2 libtinyxml.so.0 |
pankso@16372 | 31 ln -s libtinyxml.so.0.2.6.2 libtinyxml.so |
pankso@16372 | 32 } |
pankso@16372 | 33 |