wok-current annotate expat/receipt @ rev 18235

Up: tazinst(63): fix "/dev/sdb or /dev/sdb or ... /dev/sdb" bug
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 24 14:46:51 2015 +0300 (2015-07-24)
parents 21172827b7f1
children baa7232f49c4
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="expat"
devl547@17613 4 VERSION="2.1.0"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@34 10 WEB_SITE="http://expat.sourceforge.net/"
pankso@34 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@12822 12 HOST_ARCH="i486 arm"
pankso@34 13
pankso@34 14 # Rules to configure and make the package.
pankso@34 15 compile_rules()
pankso@34 16 {
pankso@12822 17 ./configure $CONFIGURE_ARGS &&
pankso@12822 18 make && make DESTDIR=$DESTDIR install
pankso@34 19 }
pankso@34 20
pankso@34 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 22 genpkg_rules()
pankso@34 23 {
pankso@34 24 mkdir -p $fs/usr/lib $fs/usr/bin
al@17992 25 cp -a $install/usr/bin/* $fs/usr/bin
al@17992 26 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@17992 27 # expat so.0 symbolic link.
al@17992 28 cd $fs/usr/lib
al@17992 29 ln -s libexpat.so.1.*.* libexpat.so.0
pankso@34 30 }