# vim: set syn=sh: # Packager: Phill Watkins pkgname=curlftpfs pkgver=0.9.2 pkgrel=1pw #arch=noarch source=\ ( "http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/$pkgver/curlftpfs-$pkgver.tar.gz" "http://ftp.de.debian.org/debian/pool/main/c/curlftpfs/curlftpfs_0.9.2-4.debian.tar.gz" ) sourcetemplate=http://people.salixos.org/pwatk/packages/extra/$pkgname docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README") url=http://curlftpfs.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "curlftpfs (FUSE filesystem for acessing FTP hosts)" "CurlFtpFS is a filesystem for acessing ftp hosts based on FUSE and" "libcurl. It automatically reconnects if the server times out." "" "As the FTP protocol is not very feature rich, this filesystem does not" "fulfill every constraint of a real filesystem, but it should be usable" "for simple tasks like copying and editing files." ) build() { set -e cd $startdir/src/$pkgname-$pkgver for patch in $(cat $startdir/src/debian/patches/series) ;do patch -p1 --verbose < $startdir/src/debian/patches/$patch done ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --infodir=/usr/info \ --docdir=/usr/doc/$pkgname-$pkgver \ --build=$arch-slackware-linux make -j $numjobs make install DESTDIR=$startdir/pkg install -Dm 644 $startdir/src/debian/changelog \ $startdir/pkg/usr/doc/$pkgname-$pkgver/debian.changlog set +e }