wok-next diff xpenguins/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 148fe453320b |
children | adb36dd69239 |
line diff
1.1 --- a/xpenguins/receipt Tue Nov 07 10:54:15 2017 +0200 1.2 +++ b/xpenguins/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xpenguins" 1.8 VERSION="2.2" 1.9 @@ -6,27 +6,25 @@ 1.10 SHORT_DESC="Cute little penguins walking along the tops of your windows" 1.11 MAINTAINER="Lucas Levrel <llev@slitaz.org>" 1.12 LICENSE="GPL" 1.13 -WEB_SITE="http://xpenguins.seul.org" 1.14 +WEB_SITE="http://xpenguins.seul.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="$WEB_SITE/$TARBALL" 1.18 +WGET_URL="${WEB_SITE}$TARBALL" 1.19 1.20 -DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext" 1.21 BUILD_DEPENDS="xorg-libXpm-dev xorg-libX11-dev xorg-libXext-dev xorg-libXt-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - ./configure $CONFIGURE_ARGS --prefix=/usr && 1.27 +compile_rules() { 1.28 + ./configure \ 1.29 + --prefix=/usr \ 1.30 + $CONFIGURE_ARGS && 1.31 make && 1.32 - make DESTDIR=$DESTDIR install 1.33 - mkdir -p $install/usr/share/applications 1.34 - cp -a $stuff/xpenguins.desktop $install/usr/share/applications 1.35 - cp -a $stuff/xpenguins.sh $install/usr/bin 1.36 + make DESTDIR=$install install || return 1 1.37 + 1.38 + install -Dm644 $stuff/xpenguins.desktop $install/usr/share/applications/xpenguins.desktop 1.39 + install -Dm755 $stuff/xpenguins.sh $install/usr/bin/xpenguins.sh 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 - cp -a $install/* $fs 1.46 - rm -r $fs/usr/share/man 1.47 +genpkg_rules() { 1.48 + copy @std 1.49 + DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext" 1.50 }