wok-6.x diff liba53/receipt @ rev 19989
Add knot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 02 18:38:44 2017 +0200 (2017-07-02) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/liba53/receipt Sun Jul 02 18:38:44 2017 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="liba53" 1.7 +VERSION="0.1" 1.8 +CATEGORY="misc" 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +LICENSE="GPL2" 1.11 +SHORT_DESC="The A5/3 library" 1.12 +WEB_SITE="http://www.rangenetworks.com/" 1.13 +OBVERSION="4.0.0" 1.14 +TARBALL="openbts-$OBVERSION.zip" 1.15 +WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip" 1.16 + 1.17 +DEPENDS="" 1.18 +BUILD_DEPENDS="wget pkg-config" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + tar xzf liba53_$VERSION.tar.gz 1.24 + cd liba53* 1.25 + mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/usr $fs/ 1.34 +}