# HG changeset patch # User Eric Joseph-Alexandre # Date 1246917176 -7200 # Node ID b66c40971da8f1915de79fee761534b35b202acd # Parent 4a1d03e1024fc29c9bf863a328095d473320cbe0 Add: libarchive, libarchive-dev diff -r 4a1d03e1024f -r b66c40971da8 libarchive-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libarchive-dev/receipt Mon Jul 06 23:52:56 2009 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libarchive-dev" +VERSION="2.7.0" +CATEGORY="developement" +SHORT_DESC="C librairy and command line tool archive dev files." +MAINTAINER="erjo@slitaz.org" +DEPENDS="libarchive" +WANTED="libarchive" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/libarchive/" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} + diff -r 4a1d03e1024f -r b66c40971da8 libarchive/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libarchive/receipt Mon Jul 06 23:52:56 2009 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="libarchive" +VERSION="2.7.0" +CATEGORY="system-util" +SHORT_DESC="C librairy and command line tool for reading archive." +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/libarchive/" +WGET_URL="http://libarchive.googlecode.com/files/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +