wok annotate matio/receipt @ rev 21399
mana, newsbeuter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 19:45:31 2019 +0200 (2019-04-22) |
parents | 4ba8f9c4b80e |
children | bd59b88e9b9c |
rev | line source |
---|---|
pascal@17973 | 1 # SliTaz package receipt. |
pascal@17973 | 2 |
pascal@17973 | 3 PACKAGE="matio" |
pascal@17973 | 4 VERSION="1.5.2" |
pascal@17973 | 5 CATEGORY="development" |
pascal@17973 | 6 SHORT_DESC="MAT File I/O Library." |
pascal@17973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17973 | 8 LICENSE="BSD" |
pascal@17973 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/matio/" |
pascal@17973 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@17973 | 12 |
pascal@17973 | 13 DEPENDS="zlib" |
pascal@17973 | 14 |
pascal@17973 | 15 # Rules to configure and make the package. |
pascal@17973 | 16 compile_rules() |
pascal@17973 | 17 { |
pascal@17973 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@17973 | 19 --mandir=/usr/share/man \ |
pascal@17973 | 20 $CONFIGURE_ARGS && |
pascal@17973 | 21 make && |
pascal@17973 | 22 make DESTDIR=$DESTDIR install |
pascal@17973 | 23 } |
pascal@17973 | 24 |
pascal@17973 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17973 | 26 genpkg_rules() |
pascal@17973 | 27 { |
pascal@17973 | 28 mkdir -p $fs/usr/lib |
pascal@17973 | 29 cp -a $install/usr/bin $fs/usr |
pascal@17973 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17973 | 31 } |