wok annotate code2/receipt @ rev 21808

Add virtualbox-ose-modules*
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 17 16:23:26 2019 +0200 (2019-08-17)
parents b2fef50ebad6
children
rev   line source
pascal@20399 1 # SliTaz package receipt.
pascal@20399 2
pascal@20399 3 PACKAGE="code2"
pascal@20664 4 VERSION="3995"
pascal@20399 5 CATEGORY="multimedia"
pascal@20399 6 SHORT_DESC="An open source low bit rate speech codec"
pascal@20399 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20399 8 LICENSE="LGPL2.1"
pascal@20399 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@21177 10 #WEB_SITE="http://www.rowetel.com/codec2.html"
pascal@21177 11 WEB_SITE="https://github.com/drowe67/codec2"
pascal@20399 12 WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/"
pascal@21177 13 PROVIDE="codec2"
pascal@20399 14
pascal@20399 15 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev"
pascal@20399 16
pascal@20399 17 # Rules to configure and make the package.
pascal@20399 18 compile_rules()
pascal@20399 19 {
pascal@20399 20 sed -i 's| -no-pie||' unittest/CMakeLists.txt
pascal@20401 21 mkdir -p $DESTDIR/usr/share/doc
pascal@20401 22 cp README $DESTDIR/usr/share/doc
pascal@20399 23 mkdir build_linux
pascal@20399 24 cd build_linux
pascal@20401 25 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@20399 26 make DESTDIR=$DESTDIR install
pascal@20399 27 }
pascal@20399 28
pascal@20399 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20399 30 genpkg_rules()
pascal@20399 31 {
pascal@20399 32 mkdir -p $fs/usr/lib
pascal@20399 33 cp -a $install/usr/bin $fs/usr
al@20400 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20399 35 }