2016-01-03 00:35:32 +01:00
|
|
|
# Template file for 'audiofile'
|
|
|
|
pkgname=audiofile
|
|
|
|
version=0.3.6
|
2016-09-27 14:00:12 +02:00
|
|
|
revision=2
|
2016-01-03 00:35:32 +01:00
|
|
|
wrksrc=$pkgname-$pkgname-$version
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool asciidoc pkg-config"
|
|
|
|
makedepends="gtk+-devel alsa-lib-devel"
|
|
|
|
short_desc="C library for reading and writing audio files"
|
|
|
|
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://audiofile.68k.org"
|
|
|
|
disable_parallel_build=1
|
|
|
|
distfiles="http://github.com/mpruett/audiofile/archive/audiofile-$version.tar.gz"
|
|
|
|
checksum=52125fee6c7454d743acdc27ebda194c6b5c7b9111426c7d5fdea0754cd366cc
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
audiofile-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="audiofile>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/pkgconfig/
|
|
|
|
vmove usr/include/
|
|
|
|
vmove usr/share/man/man3/
|
|
|
|
}
|
|
|
|
}
|