mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 14:42:01 +01:00
35 lines
836 B
Plaintext
35 lines
836 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mxml
|
|
pkgver=2.12
|
|
pkgrel=0
|
|
pkgdesc="Small XML library that you can use to read and write XML files"
|
|
url="https://www.msweet.org/mxml/"
|
|
arch="all"
|
|
license="LGPL-2.0"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/michaelrsweet/mxml/archive/v${pkgver}.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make testmxml
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make BUILDROOT="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="49233a0087f3ef73a01ef71bb79511af36bb72027e3d9f6df919385e9ff0b03a489a3ccc590941bc4af1f558f82b2ed9bf8ff641863300a7791ce6dddfd56e77 mxml-2.12.tar.gz"
|