wok-next diff gf2x/receipt @ rev 20537
cups: fix cups-dev dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 30 23:00:35 2018 +0300 (2018-03-30) |
parents | defb66322971 |
children | a5d7827e08cf |
line diff
1.1 --- a/gf2x/receipt Wed Oct 25 09:40:19 2017 +0200 1.2 +++ b/gf2x/receipt Fri Mar 30 23:00:35 2018 +0300 1.3 @@ -1,27 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gf2x" 1.8 VERSION="1.2" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="gf2x is a library for multiplying polynomials over the binary field" 1.11 +SHORT_DESC="Library for multiplying polynomials over the binary field" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://gforge.inria.fr/projects/gf2x/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="https://gforge.inria.fr/frs/download.php/file/36934/$TARBALL" 1.18 1.19 -DEPENDS="" 1.20 -BUILD_DEPENDS="wget" 1.21 +SPLIT="gf2x-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 ./configure $CONFIGURE_ARGS && make && make install 1.28 } 1.29 1.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 -genpkg_rules() 1.32 -{ 1.33 - mkdir -p $fs/usr/lib 1.34 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 +genpkg_rules() { 1.36 + case $PACKAGE in 1.37 + gf2x) copy @std;; 1.38 + *-dev) copy @dev;; 1.39 + esac 1.40 }