wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
7 MAINTAINER="keupont@no-log.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://libmtp.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libusb-compat libgcrypt"
14 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS \
21 && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/etc $fs/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/lib/mtp* $fs/lib
31 cp -a $install/lib/udev $fs/etc
32 }