blob: 3c9d94067fc0b6e04573b8793ba72a025ebbb98c (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xmlto
pkgver=0.0.28
pkgrel=0
pkgdesc="Convert xml to many other formats"
url="http://cyberelk.net/tim/software/xmlto/"
arch="all"
license="GPL2+"
depends="libxslt perl-yaml-syck perl-test-pod bash docbook-xsl"
depends_dev=
makedepends="$depends_dev bash"
install=""
subpackages="$pkgname-doc"
source="https://fedorahosted.org/releases/x/m/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
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 \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make -j1 || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="93bab48d446c826399d130d959fe676f xmlto-0.0.28.tar.bz2"
sha256sums="1130df3a7957eb9f6f0d29e4aa1c75732a7dfb6d639be013859b5c7ec5421276 xmlto-0.0.28.tar.bz2"
sha512sums="6e0c4968d4f1b7a3b132904182aa72a73f6167553eabdeb65cfafa6295ef7b960541685769d04144207963cca77b0c44db4f9fbb2796348ffcb37b3b399f18f1 xmlto-0.0.28.tar.bz2"
|