wok-6.x annotate sshfs-fuse/receipt @ rev 13142
gource: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 09 18:46:00 2012 +0200 (2012-07-09) |
parents | 8c4a70e18847 |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@914 | 1 # SliTaz package receipt. |
pascal@914 | 2 |
pascal@914 | 3 PACKAGE="sshfs-fuse" |
slaxemulator@6275 | 4 VERSION="2.2" |
pascal@914 | 5 CATEGORY="system-tools" |
pascal@914 | 6 SHORT_DESC="SSH Filesystem implemented with FUSE." |
pascal@914 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2440 | 8 DEPENDS="fuse openssh glib" |
slaxemulator@6275 | 9 BUILD_DEPENDS="fuse-dev gettext glib glib-dev pkg-config" |
pascal@914 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@914 | 11 WEB_SITE="http://fuse.sourceforge.net/sshfs.html" |
pascal@914 | 12 WGET_URL="$SF_MIRROR/fuse/$TARBALL" |
pascal@914 | 13 |
pascal@914 | 14 # Rules to configure and make the package. |
pascal@914 | 15 compile_rules() |
pascal@914 | 16 { |
pascal@914 | 17 cd $src |
pascal@914 | 18 ./configure --prefix=/usr \ |
pascal@1514 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1514 | 20 make && |
pascal@914 | 21 make DESTDIR=$PWD/_pkg install |
pascal@914 | 22 } |
pascal@914 | 23 |
pascal@914 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@914 | 25 genpkg_rules() |
pascal@914 | 26 { |
pascal@914 | 27 mkdir -p $fs/usr |
pascal@916 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@914 | 29 } |