wok view xpenguins/receipt @ rev 24865
updated lsscsi (0.31 -> 0.32)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:29:17 2022 +0100 (2022-03-30) |
parents | cc044c37d3ba |
children | d765616e1f3d |
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="http://xpenguins.seul.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$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 }