wok-current annotate curlftpfs/receipt @ rev 1749
php-*: add pre_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 23 12:08:41 2008 +0000 (2008-11-23) |
parents | a075ff895254 |
children | 71ac043c8879 |
rev | line source |
---|---|
erjo@460 | 1 # SliTaz package receipt. |
erjo@460 | 2 |
erjo@460 | 3 PACKAGE="curlftpfs" |
erjo@460 | 4 VERSION="0.9.1" |
erjo@460 | 5 CATEGORY="system-tools" |
erjo@460 | 6 SHORT_DESC="Using FUSE to access FTP servers." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@460 | 8 DEPENDS="fuse curl" |
pascal@1514 | 9 BUILD_DEPENDS="fuse fuse-dev curl curl-dev glib-dev" |
erjo@460 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@460 | 11 WEB_SITE="http://curlftpfs.sourceforge.net/" |
erjo@460 | 12 WGET_URL="http://downloads.sourceforge.net/curlftpfs/$TARBALL" |
erjo@460 | 13 |
erjo@460 | 14 # Rules to configure and make the package. |
erjo@460 | 15 compile_rules() |
erjo@460 | 16 { |
erjo@460 | 17 cd $src |
pascal@1514 | 18 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@1514 | 19 make && |
erjo@460 | 20 make DESTDIR=$PWD/_pkg install |
erjo@460 | 21 } |
erjo@460 | 22 |
erjo@460 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@460 | 24 genpkg_rules() |
erjo@460 | 25 { |
erjo@460 | 26 mkdir -p $fs/usr |
erjo@460 | 27 cp -a $_pkg/usr/bin $fs/usr |
erjo@460 | 28 strip -s $fs/usr/bin/* |
erjo@460 | 29 } |
erjo@460 | 30 |