wok annotate mtpfs/receipt @ rev 5519
Up: slang (2.2.2)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 10 23:58:56 2010 +0000 (2010-05-10) |
parents | dc36fa4b342c |
children | 1ea1928aa3ff |
rev | line source |
---|---|
keupont@2885 | 1 # SliTaz package receipt. |
keupont@2885 | 2 |
keupont@2885 | 3 PACKAGE="mtpfs" |
keupont@2885 | 4 VERSION="0.9" |
keupont@2885 | 5 CATEGORY="multimedia" |
keupont@2885 | 6 SHORT_DESC="FUSE filesystem that supports reading and writing from any MTP device" |
keupont@2885 | 7 MAINTAINER="keupont@no-log.org" |
pascal@2964 | 8 DEPENDS="libmtp libnjb libid3tag libmad fuse glib" |
keupont@2885 | 9 BUILD_DEPENDS="libnjb-dev libid3tag-dev libmtp-dev fuse-dev glib-dev" |
keupont@2885 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
keupont@2885 | 11 WEB_SITE="http://www.adebenham.com/mtpfs/" |
keupont@2885 | 12 WGET_URL="http://www.adebenham.com/$PACKAGE/$TARBALL" |
keupont@2885 | 13 |
keupont@2885 | 14 # Rules to configure and make the package. |
keupont@2885 | 15 compile_rules() |
keupont@2885 | 16 { |
keupont@2885 | 17 cd $src |
keupont@2885 | 18 ./configure \ |
keupont@2885 | 19 --prefix=/usr \ |
keupont@2885 | 20 --infodir=/usr/share/info \ |
keupont@2885 | 21 --mandir=/usr/share/man \ |
keupont@2885 | 22 $CONFIGURE_ARGS && |
keupont@2885 | 23 make && |
keupont@2885 | 24 make DESTDIR=$PWD/_pkg install |
keupont@2885 | 25 } |
keupont@2885 | 26 |
keupont@2885 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2885 | 28 genpkg_rules() |
keupont@2885 | 29 { |
keupont@2885 | 30 mkdir -p $fs/usr |
keupont@2885 | 31 cp -a $_pkg/usr/bin $fs/usr |
keupont@2885 | 32 } |