wok-6.x annotate liba53/receipt @ rev 18428
shutdown: add simple shutdown wrapper script for other tool compatibility
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Mon Sep 21 13:17:35 2015 +0000 (2015-09-21) |
parents | |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@16791 | 1 # SliTaz package receipt. |
pascal@16791 | 2 |
pascal@16791 | 3 PACKAGE="liba53" |
pascal@16791 | 4 VERSION="0.1" |
pascal@16791 | 5 CATEGORY="misc" |
pascal@16791 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16791 | 7 LICENSE="GPL2" |
pascal@16791 | 8 SHORT_DESC="The A5/3 library" |
pascal@16791 | 9 WEB_SITE="http://www.rangenetworks.com/" |
pascal@16791 | 10 OBVERSION="4.0.0" |
pascal@16791 | 11 TARBALL="openbts-$OBVERSION.zip" |
pascal@16791 | 12 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip" |
pascal@16791 | 13 |
pascal@16791 | 14 DEPENDS="" |
pascal@16791 | 15 BUILD_DEPENDS="wget pkg-config" |
pascal@16791 | 16 |
pascal@16791 | 17 # Rules to configure and make the package. |
pascal@16791 | 18 compile_rules() |
pascal@16791 | 19 { |
pascal@16791 | 20 tar xzf liba53_$VERSION.tar.gz |
pascal@16791 | 21 cd liba53* |
pascal@16791 | 22 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include |
pascal@16791 | 23 make && |
pascal@16791 | 24 make DESTDIR=$DESTDIR install |
pascal@16791 | 25 } |
pascal@16791 | 26 |
pascal@16791 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16791 | 28 genpkg_rules() |
pascal@16791 | 29 { |
pascal@16791 | 30 cp -a $install/usr $fs/ |
pascal@16791 | 31 } |