SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gvfb"

# SliTaz package receipt.

PACKAGE="gvfb"
VERSION="1.2.1"
CATEGORY="x-window"
SHORT_DESC="A virtual frame buffer program running on GTK."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="http://www.minigui.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}downloads/$TARBALL"

DEPENDS="gtk+"
BUILD_DEPENDS="cmake gtk+-dev pkg-config"

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

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    mkdir built
    cd built

    cmake                        \
        -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0    \
        -DCMAKE_INSTALL_PREFIX=/usr        \
        ../src
    make -j 1 &&
    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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)