wok-current annotate expat/receipt @ rev 17829
Up:spk(1.4.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 22 22:37:15 2015 +0100 (2015-03-22) |
parents | fcdd50638150 |
children | 21172827b7f1 |
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" |
pankso@34 | 6 SHORT_DESC="XML parsing 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 cd $src |
pankso@12822 | 18 ./configure $CONFIGURE_ARGS && |
pankso@12822 | 19 make && make DESTDIR=$DESTDIR install |
pankso@34 | 20 } |
pankso@34 | 21 |
pankso@34 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 23 genpkg_rules() |
pankso@34 | 24 { |
pankso@34 | 25 mkdir -p $fs/usr/lib $fs/usr/bin |
pankso@12822 | 26 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@12822 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@34 | 28 # expat so.0 symbolic link. |
pankso@34 | 29 cd $fs/usr/lib |
pankso@34 | 30 ln -s libexpat.so.1.5.2 libexpat.so.0 |
pankso@34 | 31 } |