ckmame: update to 1.0

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-12-22 14:14:23 +01:00
parent 7995697460
commit 9f6a8e5872
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -1,35 +1,18 @@
# Template file for 'ckmame'
pkgname=ckmame
version=0.12
version=1.0
revision=1
wrksrc=${pkgname}-rel-${version//./-}
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
build_style=cmake
hostmakedepends="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
checksum=9fc5dcf1d2dd75351b2cdf43ce10fecda7d97c8c1a8dd0fe1f653229bb316130
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
post_install() {
vlicense ${wrksrc}/LICENSE
}