libmpcdec: cross build and dbg support.

This commit is contained in:
Juan RP 2013-03-21 20:10:47 +01:00
parent 3120f72fa2
commit 0cb240eb4e
2 changed files with 9 additions and 13 deletions

View file

@ -1,15 +1,9 @@
# Template file for 'libmpcdec-devel'. # Template file for 'libmpcdec-devel'.
# #
depends="glibc-devel libmpcdec" depends="libmpcdec>=${version}"
short_desc="${short_desc} (development files)" short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib

View file

@ -1,11 +1,15 @@
# Template file for 'libmpcdec' # Template file for 'libmpcdec'
pkgname=libmpcdec pkgname=libmpcdec
version=1.2.6 version=1.2.6
revision=3 revision=4
distfiles="http://files.musepack.net/source/$pkgname-$version.tar.bz2" subpackages="$pkgname-devel"
build_style=gnu-configure build_style=gnu-configure
configure_args="ac_cv_func_memcmp_working=yes"
short_desc="Portable Musepack decoder library" short_desc="Portable Musepack decoder library"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://musepack.net/"
license="BSD"
distfiles="http://files.musepack.net/source/$pkgname-$version.tar.bz2"
checksum=4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8 checksum=4bd54929a80850754f27b568d7891e1e3e1b8d2f208d371f27d1fda09e6f12a8
long_desc=" long_desc="
Musepack is an audio compression format with a strong emphasis on high Musepack is an audio compression format with a strong emphasis on high
@ -16,5 +20,3 @@ long_desc="
It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has It is based on the MPEG-1 Layer-2 / MP2 algorithms, but since 1997 it has
rapidly developed and vastly improved and is now at an advanced stage in rapidly developed and vastly improved and is now at an advanced stage in
which it contains heavily optimized and patentless code." which it contains heavily optimized and patentless code."
subpackages="$pkgname-devel"