wok-current annotate libmtp/receipt @ rev 14714
lib[a-n]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 10:41:23 2013 +0200 (2013-06-11) |
parents | 925ea684c5ae |
children | e9a384038707 |
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@14714 | 8 LICENSE="LGPL2.1" |
keupont@2883 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
keupont@2883 | 10 WEB_SITE="http://libmtp.sourceforge.net/" |
keupont@2883 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
keupont@2883 | 12 |
pascal@14714 | 13 DEPENDS="libusb-compat libgcrypt" |
pascal@14714 | 14 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev" |
pascal@14714 | 15 |
keupont@2883 | 16 # Rules to configure and make the package. |
keupont@2883 | 17 compile_rules() |
keupont@2883 | 18 { |
keupont@2883 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure $CONFIGURE_ARGS \ |
erjo@13458 | 21 && make && make install |
keupont@2883 | 22 } |
keupont@2883 | 23 |
keupont@2883 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2883 | 25 genpkg_rules() |
keupont@2883 | 26 { |
erjo@13471 | 27 mkdir -p $fs/usr/lib $fs/etc $fs/lib |
erjo@13471 | 28 |
erjo@13458 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@13471 | 30 cp -a $install/lib/mtp* $fs/lib |
erjo@13471 | 31 cp -a $install/lib/udev $fs/etc |
keupont@2883 | 32 } |
keupont@2883 | 33 |