wok-current view tinyxml/receipt @ rev 17350

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