SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xpenguins"

# SliTaz package receipt.

PACKAGE="xpenguins"
VERSION="2.2"
CATEGORY="misc"
SHORT_DESC="Cute little penguins walking along the tops of your windows"
MAINTAINER="Lucas Levrel <llev@slitaz.org>"
LICENSE="GPL"
WEB_SITE="https://ratrabbit.nl/ratrabbit/software/xpenguins/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/distfiles/$TARBALL"

DEPENDS="xorg-libXpm xorg-libX11 xorg-libXext"
BUILD_DEPENDS="xorg-libXpm-dev xorg-libX11-dev xorg-libXext-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS --prefix=/usr &&
    make &&
    make DESTDIR=$DESTDIR install
    mkdir -p $install/usr/share/applications
    cp -a $stuff/xpenguins.desktop $install/usr/share/applications
    cp -a $stuff/xpenguins.sh $install/usr/bin
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm -r $fs/usr/share/man
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)