summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 09:16:45 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 10:01:10 +0000
commite3d56595dacc32fe2723a3d7530a13e8f301bdee (patch)
tree246a5fce7a8808100d24b03bb737ee1e9508ca06 /main
parent301fed175550d52180b3a71825295cbc9e77b2a5 (diff)
downloadaports-e3d56595dacc32fe2723a3d7530a13e8f301bdee.tar.bz2
aports-e3d56595dacc32fe2723a3d7530a13e8f301bdee.tar.xz
main/wget: license specified
Diffstat (limited to 'main')
-rw-r--r--main/wget/APKBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/main/wget/APKBUILD b/main/wget/APKBUILD
index 4f950cd64..072352fd8 100644
--- a/main/wget/APKBUILD
+++ b/main/wget/APKBUILD
@@ -6,28 +6,32 @@ pkgrel=0
pkgdesc="A network utility to retrieve files from the Web"
url="http://www.gnu.org/software/wget/wget.html"
arch="all"
-license="GPL3"
-depends=
+license="GPL3+"
+depends=""
makedepends="openssl-dev"
subpackages="$pkgname-doc"
install="wget.post-deinstall"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- ./configure --prefix=/usr \
+ cd "$_builddir"
+ ./configure \
+ --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--with-ssl=openssl \
- --disable-nls
+ --disable-nls \
+ || return 1
make || return 1
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
}
md5sums="12edc291dba8127f2e9696e69f36299e wget-1.14.tar.gz"
+sha256sums="f3a6898e3a765bb94435b04a6668db9e5d19b3e90e0c69a503a2773ae936c269 wget-1.14.tar.gz"
+sha512sums="e01291318b44ee1022e39589933411c453372e8026b1641dd7caa1adb132c94bdcf6f6ff291f4b6dc2b46eb0e48c80c60231cd86247db17954ee73053422cb27 wget-1.14.tar.gz"