# HG changeset patch # User Pascal Bellard # Date 1429308495 -7200 # Node ID 4ba8f9c4b80e6f14b89ac0bd0f3db2d2443b8e52 # Parent 9e350f60bf7ba6a33ce8efebaff28199ff52c850 Add matio diff -r 9e350f60bf7b -r 4ba8f9c4b80e matio-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/matio-dev/receipt Sat Apr 18 00:08:15 2015 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="matio-dev" +VERSION="1.5.2" +CATEGORY="development" +SHORT_DESC="MAT File I/O Library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +WEB_SITE="http://sourceforge.net/projects/matio/" +WANTED="matio" + +DEPENDS="matio pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r 9e350f60bf7b -r 4ba8f9c4b80e matio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/matio/receipt Sat Apr 18 00:08:15 2015 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="matio" +VERSION="1.5.2" +CATEGORY="development" +SHORT_DESC="MAT File I/O Library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceforge.net/projects/matio/" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="zlib" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}