wok-next view tinyxml/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | 18143f296fc8 |
children | 9a78fd347e59 |
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://www.grinninglizard.com/tinyxml/"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $install/usr/lib $install/usr/bin
17 make &&
18 ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \
19 -o $install/usr/lib/libtinyxml.so.0.$VERSION \
20 -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest)
21 cp xmltest $install/usr/bin
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/. $fs/.
28 cd $fs/usr/lib
29 ln -s libtinyxml.so.0.$VERSION libtinyxml.so.0
30 ln -s libtinyxml.so.0.$VERSION libtinyxml.so
31 }