diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-10 09:35:30 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-10 09:35:30 +0000 |
commit | 2182cff005fce18b8b5fad40d9dc7a2e0c182bdc (patch) | |
tree | 218b9ccc11630a3587ac2c2fdf34bf4ed35be600 /main/slang | |
parent | 25ced1665ab164cc46466da5a7e326e5e8c70197 (diff) | |
download | aports-2182cff005fce18b8b5fad40d9dc7a2e0c182bdc.tar.bz2 aports-2182cff005fce18b8b5fad40d9dc7a2e0c182bdc.tar.xz |
main/slang: upgrade to 2.2.1
Diffstat (limited to 'main/slang')
-rw-r--r-- | main/slang/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/slang/APKBUILD b/main/slang/APKBUILD index c7a3b951c6..09b42e1b40 100644 --- a/main/slang/APKBUILD +++ b/main/slang/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=slang -pkgver=2.1.4 +pkgver=2.2.1 pkgrel=0 pkgdesc="S-Lang is a powerful interpreted language" url="http://www.s-lang.org/" @@ -8,20 +8,28 @@ license="GPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="pcre-dev" -source="ftp://ftp.fu-berlin.de/pub/unix/misc/$pkgname/v2.1/$pkgname-$pkgver.tar.gz +source="ftp://ftp.fu-berlin.de/pub/unix/misc/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.gz slang-2.1.3-uclibc.patch " -build () { +prepare () { cd "$srcdir"/$pkgname-$pkgver for i in ../*.patch; do msg "Applying $i..." patch -p1 < $i || return 1 done +} + +build () { + cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make -j1 install-all DESTDIR="$pkgdir" || return 1 } -md5sums="3516f593bc04975844f26137c18275d2 slang-2.1.4.tar.gz +md5sums="9a72420df2aa7b1932a195c6e5a85465 slang-2.2.1.tar.gz 56ca82f415578994b6050e769b6b7bc9 slang-2.1.3-uclibc.patch" |