wok annotate tinyxml/receipt @ rev 22421

I see these >10 packages also got version updates due to xfce 4.12.0
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 15 09:13:38 2019 +0000 (2019-12-15)
parents d3eb5f4b53ea
children 922f061231c2
rev   line source
pankso@16372 1 # SliTaz package receipt.
pankso@16372 2
pankso@16372 3 PACKAGE="tinyxml"
pascal@17869 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"
pascal@17869 9 TARBALL="${PACKAGE}_${VERSION//./_}.zip"
pascal@20671 10 WEB_SITE="https://wiki.lxde.org/en/LXMusic"
pascal@17869 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$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 \
pascal@17869 19 -o libtinyxml.so.0.$VERSION \
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
pascal@17869 30 ln -s libtinyxml.so.0.$VERSION libtinyxml.so.0
pascal@17869 31 ln -s libtinyxml.so.0.$VERSION libtinyxml.so
pankso@16372 32 }
pankso@16372 33