wok annotate libmtp/receipt @ rev 19898

linld/tazboot: fix set_kernel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 07 21:50:50 2017 +0200 (2017-04-07)
parents 34f40fa0b037
children 92aedd4490b5
rev   line source
keupont@2883 1 # SliTaz package receipt.
keupont@2883 2
keupont@2883 3 PACKAGE="libmtp"
al@17021 4 VERSION="1.1.6"
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"
al@17021 9 WEB_SITE="http://libmtp.sourceforge.net/"
keupont@2883 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2883 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2883 12
al@17025 13 DEPENDS="libusb udev"
al@17025 14 BUILD_DEPENDS="libusb-dev"
pascal@14714 15
keupont@2883 16 # Rules to configure and make the package.
keupont@2883 17 compile_rules()
keupont@2883 18 {
al@17025 19 ./configure --disable-mtpz $CONFIGURE_ARGS &&
al@17021 20 make && make install
keupont@2883 21 }
keupont@2883 22
keupont@2883 23 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2883 24 genpkg_rules()
keupont@2883 25 {
al@17021 26 mkdir -p $fs/usr/lib $fs/etc/udev
al@17021 27
erjo@13458 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@17021 29 cp -a $install/lib/udev/rules.d $fs/etc/udev
keupont@2883 30 }
keupont@2883 31