wok annotate expat/receipt @ rev 23900

updated nnn (3.1 -> 3.3)
author Hans-G?nter Theisgen
date Thu Jul 30 17:38:46 2020 +0100 (2020-07-30)
parents 34e8f4b56043
children 7e911016a644
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="expat"
erkan@22400 4 VERSION="2.2.9"
pankso@34 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="XML parsing C library"
pankso@34 7 MAINTAINER="pankso@slitaz.org"
pascal@15588 8 LICENSE="MIT"
erkan@22400 9 WEB_SITE="https://libexpat.github.io/"
Hans-G?nter@20900 10
Hans-G?nter@20900 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erkan@22401 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
Hans-G?nter@20900 13
pankso@12822 14 HOST_ARCH="i486 arm"
pankso@34 15
pankso@34 16 # Rules to configure and make the package.
pankso@34 17 compile_rules()
pankso@34 18 {
pankso@12822 19 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@20900 20 make -j 1 &&
Hans-G?nter@20900 21 make DESTDIR=$DESTDIR install
pankso@34 22 }
pankso@34 23
pankso@34 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 25 genpkg_rules()
pankso@34 26 {
pankso@34 27 mkdir -p $fs/usr/lib $fs/usr/bin
al@17992 28 cp -a $install/usr/bin/* $fs/usr/bin
al@17992 29 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@17992 30 # expat so.0 symbolic link.
al@17992 31 cd $fs/usr/lib
al@17992 32 ln -s libexpat.so.1.*.* libexpat.so.0
pankso@34 33 }