SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dzen2"

# SliTaz package receipt.

PACKAGE="dzen2"
VERSION="0.8.5"
CATEGORY="utilities"
SHORT_DESC="A general purpose messaging and notification program."
MAINTAINER="mallory@sweetpeople.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://gotmor.googlepages.com/dzen"
WGET_URL="http://gotmor.googlepages.com/$TARBALL"
TAGS="system monitor notification"

DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/robm/dzen/commits/master 2>/dev/null | \
    sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -e 's/\/usr\/local/\/usr/' < config.mk > config.mk.slitaz
    mv config.mk.slitaz config.mk
    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)