wok-6.x annotate libmtp/receipt @ rev 10979
jed: Compile with -j1 cause it can't compile on quad core cpu without this.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:56:28 2011 +0000 (2011-10-12) |
parents | 74930678189c |
children | b7319995b37e |
rev | line source |
---|---|
keupont@2883 | 1 # SliTaz package receipt. |
keupont@2883 | 2 |
keupont@2883 | 3 PACKAGE="libmtp" |
keupont@2883 | 4 VERSION="0.3.7" |
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" |
gokhlayeh@8870 | 8 DEPENDS="libusb-compat" |
pascal@10514 | 9 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev" |
keupont@2883 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
keupont@2883 | 11 WEB_SITE="http://libmtp.sourceforge.net/" |
keupont@2883 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
keupont@2883 | 13 |
keupont@2883 | 14 # Rules to configure and make the package. |
keupont@2883 | 15 compile_rules() |
keupont@2883 | 16 { |
keupont@2883 | 17 cd $src |
pascal@10511 | 18 ./configure && make && make DESTDIR=$DESTDIR install |
keupont@2883 | 19 } |
keupont@2883 | 20 |
keupont@2883 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2883 | 22 genpkg_rules() |
keupont@2883 | 23 { |
keupont@2883 | 24 mkdir -p $fs/usr/lib |
keupont@2883 | 25 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
keupont@2883 | 26 } |
keupont@2883 | 27 |