wok view libmtp/receipt @ rev 17226
slim: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 16:37:48 2014 +0200 (2014-10-15) |
parents | 34f40fa0b037 |
children | 92aedd4490b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.6"
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 WEB_SITE="http://libmtp.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libusb udev"
14 BUILD_DEPENDS="libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --disable-mtpz $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/etc/udev
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 cp -a $install/lib/udev/rules.d $fs/etc/udev
30 }