34 lines
939 B
Bash
34 lines
939 B
Bash
# Template file for 'libmirage'
|
|
pkgname=libmirage
|
|
version=3.2.6
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="gir"
|
|
configure_args="-DPOST_INSTALL_HOOKS=OFF"
|
|
hostmakedepends="intltool pkg-config $(vopt_if gir 'gobject-introspection')"
|
|
makedepends="libglib-devel liblzma-devel libsamplerate-devel"
|
|
short_desc="CD-ROM image access library written in C"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://cdemu.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/cdemu/libmirage-${version}.tar.xz"
|
|
checksum=257f4690c9195749ea936c4b44ada3e449b352dadaa107f31a1ed10f7b6df2a6
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
libmirage-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libmirage-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|