pocketsphinx: added lib/devel subpkgs; improve desc; add missing rdeps to -devel.

This commit is contained in:
Juan RP 2014-05-03 11:36:09 +02:00
parent ca397822df
commit 9cd761710a
4 changed files with 17 additions and 8 deletions

View File

@ -1588,6 +1588,6 @@ libnutclient.so.0 libnetwork-ups-tools-2.7.2_1
libopenjpeg.so.1 libopenjpeg-1.5.1_1
libsphinxad.so.0 sphinxbase-0.8_1
libsphinxbase.so.1 sphinxbase-0.8_1
libpocketsphinx.so.1 pocketsphinx-0.8_1
libpocketsphinx.so.1 libpocketsphinx-0.8_3
libcmuclmtk.so.0 libcmuclmtk-0.7_2

1
srcpkgs/libpocketsphinx Symbolic link
View File

@ -0,0 +1 @@
pocketsphinx

View File

@ -0,0 +1 @@
pocketsphinx

View File

@ -1,20 +1,27 @@
# Template file for 'pocketsphinx'
pkgname=pocketsphinx
version=0.8
revision=1
short_desc="recognizer library written in C"
revision=3
short_desc="Lightweight speech recognition system"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://cmusphinx.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/cmusphinx/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
checksum="874c4c083d91c8ff26a2aec250b689e537912ff728923c141c4dac48662cce7a"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config doxygen"
makedepends="python-devel sphinxbase-devel gstreamer-devel gst-plugins-base-devel pulseaudio-devel libsndfile-devel libsamplerate-devel"
configure_args="--disable-static --without-python"
hostmakedepends="pkg-config"
makedepends="sphinxbase-devel gst-plugins-base-devel pulseaudio-devel libsndfile-devel libsamplerate-devel"
pocketsphinx-devel_package() {
depends="pocketsphinx>=${version}_${revision}"
libpocketsphinx_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libpocketsphinx-devel_package() {
depends="sphinxbase-devel libpocketsphinx>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include