wok annotate libmtp/receipt @ rev 5258

Up: coreutils (8.4)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 12 22:30:38 2010 +0200 (2010-04-12)
parents
children 0c9cc3f2eeb8
rev   line source
keupont@2883 1 # SliTaz package receipt.
keupont@2883 2
keupont@2883 3 PACKAGE="libmtp"
keupont@2883 4 VERSION="0.3.7"
keupont@2883 5 CATEGORY="system-tools"
keupont@2883 6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
keupont@2883 7 MAINTAINER="keupont@no-log.org"
keupont@2883 8 DEPENDS="libusb"
keupont@2883 9 BUILD_DEPENDS="libusb-dev"
keupont@2883 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2883 11 WEB_SITE="http://libmtp.sourceforge.net/"
keupont@2883 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2883 13
keupont@2883 14 # Rules to configure and make the package.
keupont@2883 15 compile_rules()
keupont@2883 16 {
keupont@2883 17 cd $src
keupont@2883 18 ./configure --enable-hotplugging \
keupont@2883 19 --prefix=/usr \
keupont@2883 20 --infodir=/usr/share/info \
keupont@2883 21 --mandir=/usr/share/man \
keupont@2883 22 $CONFIGURE_ARGS &&
keupont@2883 23 make &&
keupont@2883 24 make DESTDIR=$PWD/_pkg install
keupont@2883 25 }
keupont@2883 26
keupont@2883 27 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2883 28 genpkg_rules()
keupont@2883 29 {
keupont@2883 30 mkdir -p $fs/usr/lib
keupont@2883 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
keupont@2883 32 }
keupont@2883 33