From ca585bd6de2308fbf166ab3bccc71d0b9191fce9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 3 May 2014 11:15:52 +0200 Subject: [PATCH] cmuclmtk: added lib and -devel subpkgs; improve desc. --- common/shlibs | 2 +- srcpkgs/cmuclmtk/template | 21 +++++++++++++++++++-- srcpkgs/libcmuclmtk | 1 + srcpkgs/libcmuclmtk-devel | 1 + 4 files changed, 22 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/libcmuclmtk create mode 120000 srcpkgs/libcmuclmtk-devel diff --git a/common/shlibs b/common/shlibs index 85a650576b8..9e0d1181fbf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1589,5 +1589,5 @@ 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 -libcmuclmtk.so.0 cmuclmtk-0.7_1 +libcmuclmtk.so.0 libcmuclmtk-0.7_2 diff --git a/srcpkgs/cmuclmtk/template b/srcpkgs/cmuclmtk/template index 7393b6a8f9c..7c4e69c0e7d 100644 --- a/srcpkgs/cmuclmtk/template +++ b/srcpkgs/cmuclmtk/template @@ -1,8 +1,8 @@ # Template file for 'cmuclmtk' pkgname=cmuclmtk version=0.7 -revision=1 -short_desc="language model tools" +revision=2 +short_desc="Language model tools for Sphinx" maintainer="Martin Riese " license="GPL-2" homepage="http://cmusphinx.sourceforge.net" @@ -10,3 +10,20 @@ distfiles="${SOURCEFORGE_SITE}/project/cmusphinx/${pkgname}/${version}/${pkgname checksum="d23e47f00224667c059d69ac942f15dc3d4c3dd40e827318a6213699b7fa2915" build_style=gnu-configure configure_args="--disable-static" + +libcmuclmtk_package() { + short_desc+=" - runtime libraries" + pkg_install() { + vmove usr/lib/*.so.* + } +} + +libcmuclmtk-devel_package() { + depends="libcmuclmtk>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + } +} + diff --git a/srcpkgs/libcmuclmtk b/srcpkgs/libcmuclmtk new file mode 120000 index 00000000000..9044bf99d69 --- /dev/null +++ b/srcpkgs/libcmuclmtk @@ -0,0 +1 @@ +cmuclmtk \ No newline at end of file diff --git a/srcpkgs/libcmuclmtk-devel b/srcpkgs/libcmuclmtk-devel new file mode 120000 index 00000000000..9044bf99d69 --- /dev/null +++ b/srcpkgs/libcmuclmtk-devel @@ -0,0 +1 @@ +cmuclmtk \ No newline at end of file