wok-next annotate tinyxml/receipt @ rev 20587
Up librsync (2.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:01:16 2018 +0300 (2018-04-14) |
parents | c4e53a39395a |
children | 7506b35e1c6f |
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" |
pankso@16372 | 10 WEB_SITE="http://wiki.lxde.org/en/LXMusic" |
pascal@17869 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pankso@16372 | 12 |
pankso@16372 | 13 # Rules to configure and make the package. |
pankso@16372 | 14 compile_rules() |
pankso@16372 | 15 { |
pascal@20531 | 16 mkdir -p $install/usr/lib $install/usr/bin |
pankso@16372 | 17 make && |
pankso@16372 | 18 ${HOST_SYSTEM}-g++ -m32 -fPIC "$CXXFLAGS" -shared \ |
pascal@20531 | 19 -o $install/usr/lib/libtinyxml.so.0.$VERSION \ |
pankso@16372 | 20 -Wl,-soname,libtinyxml.so.0 $(ls *.o | grep -v xmltest) |
pascal@20531 | 21 cp xmltest $install/usr/bin |
pankso@16372 | 22 } |
pankso@16372 | 23 |
pankso@16372 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16372 | 25 genpkg_rules() |
pankso@16372 | 26 { |
pascal@20531 | 27 cp -a $install/. $fs/. |
pankso@16372 | 28 cd $fs/usr/lib |
pascal@17869 | 29 ln -s libtinyxml.so.0.$VERSION libtinyxml.so.0 |
pascal@17869 | 30 ln -s libtinyxml.so.0.$VERSION libtinyxml.so |
pankso@16372 | 31 } |
pankso@16372 | 32 |