wok-current annotate expat/receipt @ rev 14151
syslinux/isohybrid.exe: lseek fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 04 10:03:54 2013 +0100 (2013-03-04) |
parents | e5ae411e1d8c |
children | fcdd50638150 |
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" |
pankso@34 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@34 | 9 WEB_SITE="http://expat.sourceforge.net/" |
pankso@34 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@12822 | 11 HOST_ARCH="i486 arm" |
pankso@34 | 12 |
pankso@34 | 13 # Rules to configure and make the package. |
pankso@34 | 14 compile_rules() |
pankso@34 | 15 { |
pankso@12822 | 16 cd $src |
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 |
pankso@12822 | 25 cp -a $install/usr/bin/* $fs/usr/bin |
pankso@12822 | 26 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@34 | 27 # expat so.0 symbolic link. |
pankso@34 | 28 cd $fs/usr/lib |
pankso@34 | 29 ln -s libexpat.so.1.5.2 libexpat.so.0 |
pankso@34 | 30 } |