aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openjade/APKBUILD
blob: 2a23305393abbd054323a919711240817889ce0d (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=openjade
pkgver=1.3.2
pkgrel=2
pkgdesc="Implementation of the DSSSL style language"
url="http://openjade.sourceforge.net"
arch="all"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev opensp-dev perl"
install=""
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
	openjade-1.3.2-msggen.pl.patch
	openjade-1.3.2-ldflags.patch
	openjade-1.3.2-deplibs.patch
	openjade-1.3.2-libosp-la.patch
	openjade-1.3.2-gcc46.patch
	openjade-1.3.2-respect-ldflags.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1

	install -Dm644 COPYING \
		"$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname
	install -m644 README ChangeLog NEWS \
		"$pkgdir"/usr/share/doc/$pkgname || return 1
}

md5sums="7df692e3186109cc00db6825b777201e  openjade-1.3.2.tar.gz
a175eea2fec14f533ec90d515a598606  openjade-1.3.2-msggen.pl.patch
56077cda2d805784bc6b0564c4649c3a  openjade-1.3.2-ldflags.patch
f9d0ce619e55260c7500b1845aebbb2b  openjade-1.3.2-deplibs.patch
dcbde56f8755c9c777c1adae43853712  openjade-1.3.2-libosp-la.patch
3f77731285d65aa2373f57f679d5ba28  openjade-1.3.2-gcc46.patch
223fa1d9f89bbd7f31d60910752e6f10  openjade-1.3.2-respect-ldflags.patch"
sha256sums="1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1  openjade-1.3.2.tar.gz
7213377d218e8808617883df6bfe4a21696a1af50c64d0e491b9f85534e06ffc  openjade-1.3.2-msggen.pl.patch
7fd651fb682d70a3f5062a65d0da60bebdc5b958cc936d7980339f49b360c3a0  openjade-1.3.2-ldflags.patch
93905d0b4878f580fece323c1ebb4b5d5db05f1e6f06dde39cfd9b2dd0a95433  openjade-1.3.2-deplibs.patch
c0922350016fbd2784f9080a67b0f8d6171884d506216d7983dfdf95ef15ab11  openjade-1.3.2-libosp-la.patch
fb873273dc31becdab60ff669c683bbb363ad3abb08949ad0ac54cfc28cf2214  openjade-1.3.2-gcc46.patch
498b8c9eb8eb4adea6bbe63c3e85f7a1aa619734caecd7ed4c0d70487850778b  openjade-1.3.2-respect-ldflags.patch"
sha512sums="c39f70ec8020bd7a2b3e125cbd146b49ddb57910a042bd212da02722617ed5681f32dab60acc26ab89ac658997c6f604911d7be3be391d6278267481f3bcf2f1  openjade-1.3.2.tar.gz
8afe0dd887a2e997922ca4d13f70a11205d224537c920a806b310bdc719005124f3cd6fa075225b83b86a9f0e04496011460962e82aa896b9a16632fbb2da40f  openjade-1.3.2-msggen.pl.patch
6112fbc474f0f2c3c024040b42b13290ba2763381b7f99071d7d9d4f8d11bf1087a2c319eba9f0006e2cc067a14a52cedde98444338b180f9566172b52c044ec  openjade-1.3.2-ldflags.patch
4a7df423c8b8ad15a1a39900c1bb6882157534c981a9c0679b2c6d71a435b6bf3adf27052799a9eb1dd4f6ecd7e19be72889d9a55c7511ffde9dd11f4c558d9e  openjade-1.3.2-deplibs.patch
9b73b95ce3ac1d0042641eb0ddbb5ce753d2fd639dab026b9eab0f45bb3231515c69670f02c2a0793d950b6a6276f94e838d273f01e43694e97525af65903a0e  openjade-1.3.2-libosp-la.patch
df222938e4a04d27618540592e61b8d71fe42caaa4d8aeb90bfcd338efb1ff7903ea860dc460b65a69adf1ccf300a7d67459ff4950a35d9a35569fb8b3ed1438  openjade-1.3.2-gcc46.patch
bca7e9550329bc033a1df4ca78bc1ae75b12f27fdecc6aafff136fd81c93f88045ca675dd03e711b4d428a3de832f3bfa703d639319a2b348a2f8268091658d8  openjade-1.3.2-respect-ldflags.patch"