diff --git a/lftp/.md5sum b/lftp/.md5sum index f425e6939..abe91467b 100644 --- a/lftp/.md5sum +++ b/lftp/.md5sum @@ -1 +1 @@ -17956cdb9fe3032825b4a1760644bcaf lftp-3.7.2.tar.bz2 +fc98506620b059d712341d624eb720d6 lftp-3.7.3.tar.bz2 diff --git a/lftp/Pkgfile b/lftp/Pkgfile index 6a8219477..67a4ffce4 100644 --- a/lftp/Pkgfile +++ b/lftp/Pkgfile @@ -4,25 +4,18 @@ # Depends on: openssl name=lftp -version=3.7.2 +version=3.7.3 release=1 source=(ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/$name-$version.tar.bz2) build() { cd $name-$version + ./configure --prefix=/usr --disable-nls --with-openssl=/usr \ - --mandir=/usr/man - - make -C src confpaths.h - - echo "#undef SYSCONFDIR" >> src/confpaths.h - echo "#define SYSCONFDIR \"/usr/etc\"" >> src/confpaths.h + --mandir=/usr/man --sysconfdir=/usr/etc make make DESTDIR=$PKG install - mkdir $PKG/usr/etc - mv $PKG/etc/lftp.conf $PKG/usr/etc - rmdir $PKG/etc rm -r $PKG/usr/lib }