New package: ckmame-0.12

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-12-11 08:17:49 +01:00
parent 5c89a1bc87
commit 450855d1a7
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 35 additions and 0 deletions

35
srcpkgs/ckmame/template Normal file
View File

@ -0,0 +1,35 @@
# Template file for 'ckmame'
pkgname=ckmame
version=0.12
revision=1
wrksrc=${pkgname}-rel-${version//./-}
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libxml2-devel libzip-devel sqlite-devel"
short_desc="Program to check ROM sets for MAME"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="BSD-3-clause"
homepage="https://nih.at/ckmame/"
distfiles="https://github.com/nih-at/ckmame/archive/rel-${version//./-}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=a29655fb54c20b3b96125c953305e360cef6a14d879c4095c083cef1491fa67c
do_configure() {
NOCONFIGURE=1 autoreconf -fi
mkdir -p build
cd build
../configure ${configure_args}
}
do_build() {
cd build
# Generated sources
make -C src dbh_statements.h ${make_build_args}
# Build all
make ${makejobs} ${make_build_args}
}
do_install() {
cd build
make ${makejobs} ${make_install_args} DESTDIR="$DESTDIR" install
vlicense ${wrksrc}/LICENSE
}