33 lines
911 B
Bash
33 lines
911 B
Bash
|
# Template file for 'libmirage'
|
||
|
pkgname=libmirage
|
||
|
version=3.1.0
|
||
|
revision=1
|
||
|
build_style=cmake
|
||
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection)"
|
||
|
makedepends="glib-devel libsndfile-devel zlib-devel libsamplerate-devel
|
||
|
liblzma-devel"
|
||
|
short_desc="CD-ROM image access library written in C"
|
||
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
||
|
license="GPL-2"
|
||
|
homepage="http://cdemu.sourceforge.net"
|
||
|
distfiles="${SOURCEFORGE_SITE}/cdemu/libmirage-${version}.tar.bz2"
|
||
|
checksum=b67ecc1056cf1986321d637f1a52cb36b0f5bec4fac08fd9c71075dcb7dd7363
|
||
|
|
||
|
build_options="gir"
|
||
|
if [ -z "$CROSS_BUILD" ]; then
|
||
|
build_options_default="gir"
|
||
|
fi
|
||
|
|
||
|
libmirage-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="libmirage-${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
if [ -n "$build_option_gir" ]; then
|
||
|
vmove usr/share/gir-1.0
|
||
|
fi
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|