blob: 48188f18b79b7ee74ba99ab7c87b5478c3d6c47e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slang
pkgver=2.3.1
pkgrel=0
pkgdesc="S-Lang is a powerful interpreted language"
url="http://www.jedsoft.org/slang/"
arch="all"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pcre-dev ncurses-dev"
source="http://www.jedsoft.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
|| return 1
make -j1 elf static || return 1
cd slsh && make || return 1
}
package() {
cd "$builddir"
make -j1 install-all DESTDIR="$pkgdir" || return 1
}
md5sums="bd46d1dc17a50c72004ad842829d7b1f slang-2.3.1.tar.bz2"
sha256sums="a810d5da7b0c0c8c335393c6b4f12884be6fa7696d9ca9521ef21316a4e00f9d slang-2.3.1.tar.bz2"
sha512sums="9d485c6f758fbeada82c2ed6c48ecf6e101a3875a1d63ef1b6f5d9ccb1844645f23b9bddf3ba0e5c9f807f2e8394415c14788f00cfcd5a4d6fa153387be6648b slang-2.3.1.tar.bz2"
|