wok-next diff ucl/receipt @ rev 20239
linux-cloop: tiny patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 18:03:36 2017 +0100 (2017-11-06) |
parents | 3a6b97ad0a64 |
children | 10df65db91ad |
line diff
1.1 --- a/ucl/receipt Fri Mar 17 12:37:35 2017 +0200 1.2 +++ b/ucl/receipt Mon Nov 06 18:03:36 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ucl" 1.8 VERSION="1.03" 1.9 @@ -12,22 +12,26 @@ 1.10 WGET_URL="$WEB_SITE/download/$TARBALL" 1.11 1.12 BUILD_DEPENDS="gfortran" 1.13 +SPLIT="ucl-dev" 1.14 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 { 1.18 - while read i; do 1.19 - patch -p1 -i $stuff/patches/$i 1.20 - done < $stuff/patches/series 1.21 - 1.22 ./configure \ 1.23 --enable-shared \ 1.24 $CONFIGURE_ARGS && 1.25 make && make install 1.26 + 1.27 + docdir=$install/usr/share/doc/ucl-$VERSION 1.28 + mkdir -p $docdir 1.29 + cp AUTHORS NEWS README THANKS TODO $docdir 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - cook_copy_files *.so* 1.36 + case $PACKAGE in 1.37 + ucl) copy @std;; 1.38 + *-dev) copy @dev;; 1.39 + esac 1.40 }