wok annotate simple-mtpfs/receipt @ rev 22544

Add gnubik (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 03 17:47:24 2020 +0100 (2020-01-03)
parents 64c824acea97
children 5ea0ce1cecc0
rev   line source
Hans-G?nter@21642 1 # SliTaz package receipt.
Hans-G?nter@21642 2
Hans-G?nter@21642 3 PACKAGE="simple-mtpfs"
Hans-G?nter@21642 4 VERSION="0.3.0"
Hans-G?nter@21642 5 CATEGORY="system-tools"
Hans-G?nter@21642 6 SHORT_DESC="Simple MTP fuse filesystem driver."
Hans-G?nter@21642 7 MAINTAINER="developer@slitaz.org"
Hans-G?nter@21642 8 LICENSE="GPL2"
Hans-G?nter@21642 9 WEB_SITE="https://github.com/phatina/simple-mtpfs"
Hans-G?nter@21642 10
Hans-G?nter@21642 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21642 12 WGET_URL="https://github.com/phatina/$PACKAGE/archive/$TARBALL"
Hans-G?nter@21642 13
pascal@21692 14 DEPENDS="fuse libmtp gcc83-lib-base"
Hans-G?nter@21642 15 BUILD_DEPENDS="automake fuse-dev gcc83 libmtp-dev"
Hans-G?nter@21642 16
Hans-G?nter@21642 17 HOST_ARCH="i486 arm"
Hans-G?nter@21642 18
Hans-G?nter@21642 19 # Rules to configure and make the package.
Hans-G?nter@21642 20 compile_rules()
Hans-G?nter@21642 21 {
Hans-G?nter@21642 22 export CC=gcc-83
Hans-G?nter@21642 23 export CXX=g++-83
Hans-G?nter@21642 24
Hans-G?nter@21642 25 ./autogen.sh &&
Hans-G?nter@21642 26 mkdir build &&
Hans-G?nter@21642 27 cd build &&
Hans-G?nter@21642 28
Hans-G?nter@21642 29 ../configure \
Hans-G?nter@21642 30 --prefix=/usr \
Hans-G?nter@21642 31 $CONFIGURE_ARGS &&
Hans-G?nter@21642 32 make &&
Hans-G?nter@21642 33 make install
Hans-G?nter@21642 34 }
Hans-G?nter@21642 35
Hans-G?nter@21642 36 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@21642 37 genpkg_rules()
Hans-G?nter@21642 38 {
Hans-G?nter@21642 39 mkdir -p $fs/usr
Hans-G?nter@21642 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21642 41 }