wok-6.x annotate expat/receipt @ rev 16387
non-studio: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 15 08:07:21 2014 +0000 (2014-04-15) |
parents | 6233a11c8f04 |
children | a75552e134a3 |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
pankso@34 | 4 VERSION="2.0.1" |
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 } |