Receipt for package "libmtp"
# SliTaz package receipt. PACKAGE="libmtp" VERSION="1.1.19" CATEGORY="system-tools" SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)." MAINTAINER="keupont@no-log.org" LICENSE="LGPL2.1" WEB_SITE="https://sourceforge.net/projects/libmtp/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="libusb udev" BUILD_DEPENDS="libusb-dev" # @maintainer: Please update also mtp-tools # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/libmtp/files/libmtp/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/libmtp/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --disable-mtpz \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc/udev mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/lib/udev/rules.d $fs/etc/udev }
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)