opusfile: cross build and dbg support.
This commit is contained in:
parent
f8d6ccca59
commit
6c1512889f
2 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'opusfile-devel'.
|
# Template file for 'opusfile-devel'.
|
||||||
#
|
#
|
||||||
noarch=yes
|
|
||||||
depends="libogg-devel openssl-devel opus-devel ${sourcepkg}>=${version}"
|
depends="libogg-devel openssl-devel opus-devel ${sourcepkg}>=${version}"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc="${short_desc} -- development files"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
vmove "usr/lib/*.a" usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# Template file for 'opusfile'
|
# Template file for 'opusfile'
|
||||||
pkgname=opusfile
|
pkgname=opusfile
|
||||||
version=0.2
|
version=0.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
|
||||||
short_desc="Library for opening, seeking, and decoding .opus files"
|
short_desc="Library for opening, seeking, and decoding .opus files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.opus-codec.org/"
|
homepage="http://www.opus-codec.org/"
|
||||||
|
@ -13,6 +12,7 @@ checksum=b4a678b3b6c4adfb6aff1f67ef658becfe146ea7c7ff228e99543762171557f9
|
||||||
|
|
||||||
subpackages="${pkgname}-devel"
|
subpackages="${pkgname}-devel"
|
||||||
makedepends="pkg-config libogg-devel opus-devel openssl-devel"
|
makedepends="pkg-config libogg-devel opus-devel openssl-devel"
|
||||||
|
crossmakedepends="${makedepends}"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -rf ${DESTDIR}/usr/share
|
rm -rf ${DESTDIR}/usr/share
|
||||||
|
|
Loading…
Reference in a new issue