wok-next diff cgoban/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | f48456621a9d |
children |
line diff
1.1 --- a/cgoban/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/cgoban/receipt Tue Sep 01 10:31:46 2020 +0000 1.3 @@ -3,7 +3,7 @@ 1.4 PACKAGE="cgoban" 1.5 VERSION="1.9.14" 1.6 CATEGORY="games" 1.7 -SHORT_DESC="Large set of go-related services for Unix and X11." 1.8 +SHORT_DESC="Large set of go-related services for Unix and X11" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL2" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 @@ -14,21 +14,17 @@ 1.13 DEPENDS="gtk2" 1.14 BUILD_DEPENDS="gtk2-dev xorg-dev" 1.15 1.16 -# Rules to configure and make the package. 1.17 -compile_rules() 1.18 -{ 1.19 - cd $src 1.20 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 - --mandir=/usr/share/man \ 1.22 - $CONFIGURE_ARGS && 1.23 +compile_rules() { 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 make && 1.30 - make DESTDIR=$DESTDIR install 1.31 + make DESTDIR=$install install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 mkdir -p $fs/usr/bin $fs/usr/share/applications 1.39 cp -a $install/usr/bin/cgoban $fs/usr/bin 1.40 } 1.41 -