aboutsummaryrefslogtreecommitdiffstats
path: root/main/openjade/APKBUILD
blob: 5d0e2da78cc4554027fb2faf1020a4bc5b67c5aa (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
76
77
78
79
80
81
82
# 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=5
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
	config-guess-support-aarch64.patch
	config-sub-support-aarch64.patch
	"

builddir="$srcdir"/$pkgname-$pkgver

#prepare() {
#	default_prepare
#	cp "$srcdir"/config.sub "$srcdir"/config.guess \
#		"$builddir"/config || return 1
#}

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
ba0a1131e80a450ea39e7a28691f7f84  config-guess-support-aarch64.patch
18d02dd03945faedba4ca7df28e6192f  config-sub-support-aarch64.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
2adaab40a2cad3c6a2553c02b81e657dce589c770344f4860d34bd03d3038c7b  config-guess-support-aarch64.patch
bf1e5acae1b6f35d2fa37d6f0393a3b9532334ff65e97b29d1db4f53f6683514  config-sub-support-aarch64.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
9958ad9678040db7f5de89642566014062ecab5ffb04d533ae368df2fb5defde111cd2aa4883726a682b2ed4f3b05ae988daa1a9ac2720197cafdf6f13649e9d  config-guess-support-aarch64.patch
941c4ca741f6997531ad7b013c28563e3c65f534c840fe1f138c2f5cbaa0f589eecab7c0a92304584b55ee1d873de0249305f42fe18ee3a40fc962e10a7b9e3a  config-sub-support-aarch64.patch"