wok-6.x annotate tinyxml/receipt @ rev 16372

Add eggwm + tinyxml and hg add for pkgs from last commit
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 18:33:22 2014 +0200 (2014-04-14)
parents
children e1ee172acb7b
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@16372 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@16372 19 -o libtinyxml.so.0.${pkgver} \
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