# HG changeset patch # User Nathan Neulinger # Date 1442616946 0 # Node ID 67013650f57629be266bb351eb239164b1e1b795 # Parent 1ce997e1925a7c1b48dd169bb1c7e331517b4eb1 Add: libmspack, libmspack-dev (0.5alpha) diff -r 1ce997e1925a -r 67013650f576 libmspack-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmspack-dev/receipt Fri Sep 18 22:55:46 2015 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libmspack-dev" +VERSION="0.5alpha" +CATEGORY="development" +SHORT_DESC="devel files for libmspack" +MAINTAINER="nneul@neulinger.org" +LICENSE="LGPL" +WEB_SITE="http://www.cabextract.org.uk/libmspack/" +WANTED="libmspack" +DEPENDS="libmspack" + +# 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/bin $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib +} + diff -r 1ce997e1925a -r 67013650f576 libmspack/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmspack/receipt Fri Sep 18 22:55:46 2015 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="libmspack" +VERSION="0.5alpha" +CATEGORY="development" +SHORT_DESC="A library which allows extracting from MS CAB files" +MAINTAINER="nneul@neulinger.org" +LICENSE="LGPL" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.cabextract.org.uk/libmspack/" +WGET_URL="http://www.cabextract.org.uk/libmspack/$TARBALL" + +# 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/lib/*.so* $fs/usr/lib +} +