wok-next annotate libmtp/receipt @ rev 14392
evas-dev: fix deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 08:07:56 2013 +0200 (2013-04-23) |
parents | 665e90a49494 |
children | 4904e3d374a9 |
rev | line source |
---|---|
keupont@2883 | 1 # SliTaz package receipt. |
keupont@2883 | 2 |
keupont@2883 | 3 PACKAGE="libmtp" |
erjo@13458 | 4 VERSION="1.1.5" |
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" |
pascal@13466 | 8 DEPENDS="libusb-compat libgcrypt" |
erjo@13458 | 9 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-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 |
gokhlayeh@11573 | 18 ./configure $CONFIGURE_ARGS \ |
erjo@13458 | 19 && make && make install |
keupont@2883 | 20 } |
keupont@2883 | 21 |
keupont@2883 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2883 | 23 genpkg_rules() |
keupont@2883 | 24 { |
erjo@13471 | 25 mkdir -p $fs/usr/lib $fs/etc $fs/lib |
erjo@13471 | 26 |
erjo@13458 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@13471 | 28 cp -a $install/lib/mtp* $fs/lib |
erjo@13471 | 29 cp -a $install/lib/udev $fs/etc |
keupont@2883 | 30 } |
keupont@2883 | 31 |