wok-next diff pixiewps/receipt @ rev 21102
gtkglext: patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 00:26:26 2019 +0200 (2019-01-03) |
parents | 94ab15b469ab |
children |
line diff
1.1 --- a/pixiewps/receipt Sat Aug 12 05:16:49 2017 +0300 1.2 +++ b/pixiewps/receipt Thu Jan 03 00:26:26 2019 +0200 1.3 @@ -11,21 +11,16 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 sed -i 's|\$(DESTDIR)/usr|/usr|; s|/local||' src/Makefile 1.12 cd $src/src 1.13 1.14 - make && make install 1.15 + make && 1.16 + make install || return 1 1.17 1.18 - docdir=$install/usr/share/doc/$PACKAGE-$VERSION 1.19 - mkdir -p $docdir 1.20 - cp $src/README.md $docdir 1.21 + cook_pick_docs $src/README.md 1.22 } 1.23 1.24 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 -genpkg_rules() 1.26 -{ 1.27 +genpkg_rules() { 1.28 copy @std 1.29 }