void-packages/srcpkgs/libshout-idjc/template

30 lines
879 B
Bash

# Template file for 'libshout-idjc'
pkgname=libshout-idjc
version=2.4.6+1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libtheora-devel libvorbis-devel libogg-devel speex-devel"
short_desc="Libshout plus some extensions for IDJC"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://idjc.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/libshoutidjc.idjc.p/${pkgname}-${version//+/-r}.tar.gz"
checksum=7594ffc5e1d435014125d7dffb15a3450bba15d480a413c49aeaa5605050e1a1
pre_configure() {
autoreconf -fi
}
libshout-idjc-devel_package() {
depends="libtheora-devel libogg-devel libvorbis-devel speex-devel
${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}