wok annotate expat/receipt @ rev 21122

fbida: jpeg 9 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 20 11:08:01 2019 +0100 (2019-03-20)
parents c9e270dd464f
children 34e8f4b56043
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="expat"
Hans-G?nter@20900 4 VERSION="2.2.6"
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"
pankso@34 9 WEB_SITE="http://expat.sourceforge.net/"
Hans-G?nter@20900 10
Hans-G?nter@20900 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@34 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 }