wok-next view tinyxml/receipt @ rev 20849
syslinux: prevent shell expansion, specify CONFIG_FILES
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 23 17:39:19 2018 +0300 (2018-06-23) |
parents | c4e53a39395a |
children | 7506b35e1c6f |
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/$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 }