wok-current view xpenguins/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (9 months ago) |
parents | d765616e1f3d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xpenguins"
4 VERSION="2.2"
5 CATEGORY="misc"
6 SHORT_DESC="Cute little penguins walking along the tops of your windows"
7 MAINTAINER="Lucas Levrel <llev@slitaz.org>"
8 LICENSE="GPL"
9 WEB_SITE="https://ratrabbit.nl/ratrabbit/software/xpenguins/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/$TARBALL"
13 DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext"
14 BUILD_DEPENDS="xorg-libXpm-dev xorg-libX11-dev xorg-libXext-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS --prefix=/usr &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 mkdir -p $install/usr/share/applications
30 cp -a $stuff/xpenguins.desktop $install/usr/share/applications
31 cp -a $stuff/xpenguins.sh $install/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -r $fs/usr/share/man
39 }