SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wmctrl"

# SliTaz package receipt.

PACKAGE="wmctrl"
VERSION="1.07"
CATEGORY="utilities"
SHORT_DESC="A UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager."
MAINTAINER="yuripourre@gmail.com"
LICENSE="GPL"
WEB_SITE="https://sites.google.com/site/tstyblo/wmctrl"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://7010c55d-a-62cb3a1a-s-sites.googlegroups.com/site/tstyblo/wmctrl/$TARBALL"

DEPENDS="glib"
BUILD_DEPENDS="glib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Current version/!d;s|.*: ||;s|<.*||'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                    \
        --prefix=/usr          \
        --mandir=/usr/share/man\
        $CONFIGURE_ARGS &&
    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)