wok rev 22024

Up codec2 (2019/10/09)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 20 14:06:58 2019 +0200 (18 months ago)
parents ac1cbda6d814
children 1a6247d8730a
files codec2-dev/receipt codec2/receipt
line diff
     1.1 --- a/codec2-dev/receipt	Sun Oct 20 12:39:13 2019 +0200
     1.2 +++ b/codec2-dev/receipt	Sun Oct 20 14:06:58 2019 +0200
     1.3 @@ -1,7 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="codec2-dev"
     1.7 -VERSION="4121"
     1.8 +GITHASH="34292702a68102a70f8367f1feab9f39ef17ce7c" # 2019/10/09
     1.9 +VERSION="${GITHASH:0:7}"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="An open source low bit rate speech codec, development files"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 @@ -15,5 +16,6 @@
    1.14  {
    1.15  	mkdir -p $fs/usr/lib
    1.16  	cp -a $install/usr/include $fs/usr
    1.17 +	cp -a $install/usr/lib/cmake $fs/usr/lib
    1.18  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.19  }
     2.1 --- a/codec2/receipt	Sun Oct 20 12:39:13 2019 +0200
     2.2 +++ b/codec2/receipt	Sun Oct 20 14:06:58 2019 +0200
     2.3 @@ -1,24 +1,24 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="codec2"
     2.7 -VERSION="4121"
     2.8 +GITHASH="34292702a68102a70f8367f1feab9f39ef17ce7c" # 2019/10/09
     2.9 +VERSION="${GITHASH:0:7}"
    2.10  CATEGORY="multimedia"
    2.11  SHORT_DESC="An open source low bit rate speech codec"
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="LGPL2.1"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 -#WEB_SITE="http://www.rowetel.com/codec2.html"
    2.16 +TARBALL="$PACKAGE-$VERSION.zip"
    2.17  WEB_SITE="https://github.com/drowe67/codec2"
    2.18 -WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/"
    2.19 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    2.20  
    2.21 -BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev"
    2.22 +BUILD_DEPENDS="cmake"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27  	sed -i 's| -no-pie||' unittest/CMakeLists.txt
    2.28  	mkdir -p $DESTDIR/usr/share/doc
    2.29 -	cp README $DESTDIR/usr/share/doc
    2.30 +	cp README* COPYING $DESTDIR/usr/share/doc
    2.31  	mkdir build_linux
    2.32  	cd build_linux
    2.33  	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&