36 lines
952 B
Bash
36 lines
952 B
Bash
|
# 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
|
||
|
}
|