wok-current rev 22541
Add gnubik
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 03 16:37:44 2020 +0100 (2020-01-03) |
parents | 1b90442b7758 |
children | 779dc452891d |
files | gnubik/receipt pkg-config/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnubik/receipt Fri Jan 03 16:37:44 2020 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnubik" 1.7 +VERSION="2.4.2" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="An interactive, graphical, single player rubik cube puzzle" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://www.gnu.org/software/gnubik/" 1.14 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="mesa gtk+ gtkglext guile" 1.17 +BUILD_DEPENDS="mesa-dev gtk+-dev gtkglext-dev guile-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cp icons/logo22.png icons/logo24.png 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + --infodir=/usr/share/info \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make -j 1 DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $install/usr $fs 1.35 + rm -rf $fs/usr/share/info 1.36 +}
2.1 --- a/pkg-config/receipt Fri Jan 03 16:33:16 2020 +0100 2.2 +++ b/pkg-config/receipt Fri Jan 03 16:37:44 2020 +0100 2.3 @@ -22,7 +22,7 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - sed -i 's/\$(LN) -f pkg-config\$(EXEEXT) \$(host_tool)/echo \1/' Makefile* 2.8 + sed -i 's/\$(LN).*pkg-config\$(EXEEXT) \$(host_tool)/echo \1/' Makefile* 2.9 case "$ARCH" in 2.10 arm) 2.11 ./configure \