blob: 328ec1762a84e8dd2fb4822914caef6fab851fe5 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=opensp
_realname=OpenSP
pkgver=1.5.2
pkgrel=0
pkgdesc="Implementation of the DSSSL style language"
url="http://openjade.sourceforge.net"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev xmlto"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://prdownloads.sourceforge.net/openjade/$_realname-$pkgver.tar.gz
opensp-1.5-install.patch"
_builddir="$srcdir"/$_realname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--disable-static \
--enable-shared \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 "$_builddir"/COPYING \
"$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1
}
md5sums="670b223c5d12cee40c9137be86b6c39b OpenSP-1.5.2.tar.gz
cfa9bf5850bafea0c2d2ac01a615b929 opensp-1.5-install.patch"
sha256sums="57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce OpenSP-1.5.2.tar.gz
32570cedb02dbaa8fc544cb3706f73c4065b19dcb1dd41fdadc5e7af1fb080fd opensp-1.5-install.patch"
sha512sums="a7dcc246ba7f58969ecd6d107c7b82dede811e65f375b7aa3e683621f2c6ff3e7dccefdd79098fcadad6cca8bb94c2933c63f4701be2c002f9a56f1bbe6b047e OpenSP-1.5.2.tar.gz
6d4cddb3c98313643ef7ab57ce154dd8a188b7ea8edc608a62ff25e4f995ab4167be94e40c2a62ae568e22e1ada4bd9bf0c9687e4dfa43dafde4d87e8b73fdf8 opensp-1.5-install.patch"
|