# HG changeset patch # User Theophile Rascagneres # Date 1241457459 0 # Node ID 6064c52b3ad339d31a191655b19bf1eb3a4602a9 # Parent 72137cdb48845714ce7482d6519d05d417c0aea2 Add libmtp, libmtp-dev MTP (MTP library) diff -r 72137cdb4884 -r 6064c52b3ad3 libmtp-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmtp-dev/receipt Mon May 04 17:17:39 2009 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libmtp-dev" +VERSION="0.3.7" +CATEGORY="development" +SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)" +MAINTAINER="keupont@no-log.org" +WANTED="libmtp" +WEB_SITE="http://libmtp.sourceforge.net/" + +# 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/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/bin $fs/usr +} diff -r 72137cdb4884 -r 6064c52b3ad3 libmtp/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmtp/receipt Mon May 04 17:17:39 2009 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="libmtp" +VERSION="0.3.7" +CATEGORY="system-tools" +SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)" +MAINTAINER="keupont@no-log.org" +DEPENDS="libusb" +BUILD_DEPENDS="libusb-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://libmtp.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --enable-hotplugging \ + --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/lib/*.so* $fs/usr/lib +} +