From 450855d1a7c9b0e1e13feb7739713c4b102d05f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 11 Dec 2018 08:17:49 +0100 Subject: [PATCH] New package: ckmame-0.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/ckmame/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/ckmame/template diff --git a/srcpkgs/ckmame/template b/srcpkgs/ckmame/template new file mode 100644 index 00000000000..472b36c8c2b --- /dev/null +++ b/srcpkgs/ckmame/template @@ -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 " +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 +}