wok-current annotate code2/receipt @ rev 20846
updated directfb-dev again (1.4.3 -> 1.7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 21 14:07:35 2019 +0100 (2019-02-21) |
parents | c8f9323bb442 |
children | b2fef50ebad6 |
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@20399 | 10 WEB_SITE="http://rowetel.com/codec2.html" |
pascal@20399 | 11 WGET_URL="subversion|svn://svn.code.sf.net/p/freetel/code/codec2-dev/" |
pascal@20399 | 12 |
pascal@20399 | 13 BUILD_DEPENDS="subversion cmake libsamplerate-dev speex-dev" |
pascal@20399 | 14 |
pascal@20399 | 15 # Rules to configure and make the package. |
pascal@20399 | 16 compile_rules() |
pascal@20399 | 17 { |
pascal@20399 | 18 sed -i 's| -no-pie||' unittest/CMakeLists.txt |
pascal@20401 | 19 mkdir -p $DESTDIR/usr/share/doc |
pascal@20401 | 20 cp README $DESTDIR/usr/share/doc |
pascal@20399 | 21 mkdir build_linux |
pascal@20399 | 22 cd build_linux |
pascal@20401 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@20399 | 24 make DESTDIR=$DESTDIR install |
pascal@20399 | 25 } |
pascal@20399 | 26 |
pascal@20399 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20399 | 28 genpkg_rules() |
pascal@20399 | 29 { |
pascal@20399 | 30 mkdir -p $fs/usr/lib |
pascal@20399 | 31 cp -a $install/usr/bin $fs/usr |
al@20400 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@20399 | 33 } |