void-packages/srcpkgs/flac/template

38 lines
983 B
Text
Raw Normal View History

# Template file for 'flac'
pkgname=flac
2013-05-29 06:21:47 +00:00
version=1.3.0
2014-02-19 13:43:56 +00:00
revision=2
build_style=gnu-configure
2014-02-19 13:43:56 +00:00
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin --with-ogg=${XBPS_CROSS_BASE}/usr"
hostmakedepends="automake pkg-config libtool nasm"
makedepends="libogg-devel"
short_desc="Free Lossless Audio Codec"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-03-21 16:46:27 +00:00
homepage="http://flac.sourceforge.net/"
license="BSD, GPL"
2013-05-29 06:21:47 +00:00
distfiles="http://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
checksum=fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
2013-03-21 16:46:27 +00:00
2014-02-19 13:43:56 +00:00
pre_configure() {
autoreconf -fi
}
libflac_package() {
2013-05-29 06:21:47 +00:00
short_desc+=" - shared libraries"
pkg_install() {
2014-02-19 13:43:56 +00:00
vmove "usr/lib/*.so.*"
}
}
libflac-devel_package() {
2014-02-19 13:43:56 +00:00
depends="libstdc++-devel libogg-devel libflac>=${version}_${revision}"
2013-05-29 06:21:47 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-19 13:43:56 +00:00
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/doc
}
}