wok annotate simple-mtpfs/receipt @ rev 21642

created simple-mtpfs
author Hans-G?nter Theisgen
date Wed May 29 18:00:29 2019 +0100 (14 months ago)
parents
children 3b3749beba6d
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
Hans-G?nter@21642 14 DEPENDS="fuse libmtp"
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 }