summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-05-12 10:42:32 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-05-12 10:42:32 +0000
commit8e0d1d48946e43ca3bd83dd41eda1275f81e21a0 (patch)
treede16b78d44811558fad40d17948f102e46a11509 /main
parent1623d353a651506fa3f45621440e340b01ff277c (diff)
downloadaports-8e0d1d48946e43ca3bd83dd41eda1275f81e21a0.tar.bz2
aports-8e0d1d48946e43ca3bd83dd41eda1275f81e21a0.tar.xz
main/ncftp: upgrade to 3.2.4
Diffstat (limited to 'main')
-rw-r--r--main/ncftp/APKBUILD30
1 files changed, 21 insertions, 9 deletions
diff --git a/main/ncftp/APKBUILD b/main/ncftp/APKBUILD
index 29ae61975..94b08e15e 100644
--- a/main/ncftp/APKBUILD
+++ b/main/ncftp/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=ncftp
-pkgver=3.2.3
-pkgrel=1
+pkgver=3.2.4
+pkgrel=0
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
license="custom"
@@ -11,19 +11,31 @@ install="$pkgname.post-install"
source="ftp://ftp.$pkgname.com/$pkgname/$pkgname-$pkgver-src.tar.bz2"
subpackages="$pkgname-doc $pkgname-bookmarks"
+_builddir="$srcdir/$pkgname-$pkgver"
+
+prepare() {
+ mkdir -p "$pkgdir"/usr/share || return 1
+}
+
build () {
- cd "${srcdir}/${pkgname}-${pkgver}" || return 1
- install -d "${pkgdir}"/usr/share | return 1
+ cd "$_builddir" || return 1
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man || return 1
- cd "${srcdir}/${pkgname}-${pkgver}"/libncftp
+
+ cd "$_builddir"/libncftp
make shared || return 1
- make PREFIX="${pkgdir}"/usr soinstall || return 1
- cd "${srcdir}/${pkgname}-${pkgver}" || return 1
+ cd "$_builddir" || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"/libncftp
+ make PREFIX="${pkgdir}"/usr soinstall || return 1
+ cd "$_builddir" || return 1
make DESTDIR="$pkgdir" install || return 1
- install -D doc/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE || return 1
+ install -D doc/LICENSE.txt "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE || return 1
}
bookmarks () {
@@ -32,4 +44,4 @@ bookmarks () {
mv "$pkgdir"/usr/bin/ncftpbookmarks "$subpkgdir"/usr/bin/ || return 1
}
-md5sums="fac4aa169e1734e8d9617afd4a9b51e5 ncftp-3.2.3-src.tar.bz2"
+md5sums="216d6befdd7381b11ffdc8b6e0c1bd12 ncftp-3.2.4-src.tar.bz2"