wok-6.x view simple-mtpfs/receipt @ rev 21778
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 14:55:02 2019 +0200 (2019-07-11) |
parents | 64c824acea97 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="simple-mtpfs"
4 VERSION="0.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple MTP fuse filesystem driver."
7 MAINTAINER="developer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/phatina/simple-mtpfs"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/phatina/$PACKAGE/archive/$TARBALL"
14 DEPENDS="fuse libmtp gcc83-lib-base"
15 BUILD_DEPENDS="automake fuse-dev gcc83 libmtp-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 export CC=gcc-83
23 export CXX=g++-83
25 ./autogen.sh &&
26 mkdir build &&
27 cd build &&
29 ../configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }