wok diff simple-mtpfs/receipt @ rev 21642

created simple-mtpfs
author Hans-G?nter Theisgen
date Wed May 29 18:00:29 2019 +0100 (2019-05-29)
parents
children 3b3749beba6d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/simple-mtpfs/receipt	Wed May 29 18:00:29 2019 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="simple-mtpfs"
     1.7 +VERSION="0.3.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Simple MTP fuse filesystem driver."
    1.10 +MAINTAINER="developer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://github.com/phatina/simple-mtpfs"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/phatina/$PACKAGE/archive/$TARBALL"
    1.16 +
    1.17 +DEPENDS="fuse libmtp"
    1.18 +BUILD_DEPENDS="automake fuse-dev gcc83 libmtp-dev"
    1.19 +
    1.20 +HOST_ARCH="i486 arm"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	export	CC=gcc-83
    1.26 +	export	CXX=g++-83
    1.27 +
    1.28 +	./autogen.sh &&
    1.29 +	mkdir	build &&
    1.30 +	cd	build &&
    1.31 +
    1.32 +	../configure		\
    1.33 +		--prefix=/usr	\
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr
    1.43 +	cp -a $install/usr/bin	$fs/usr
    1.44 +}