SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xorgxrdp"

# SliTaz package receipt.

PACKAGE="xorgxrdp"
VERSION="0.2.16"
CATEGORY="network"
SHORT_DESC="Xorg drivers for xrdp."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="http://www.xrdp.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/neutrinolabs/$PACKAGE/releases/download/v$VERSION/$TARBALL"

SUGGESTED="xrdp"
DEPENDS="xorg-server"
BUILD_DEPENDS="autoconf automake libtool nasm pkg-config 
    xorg-server-dev xrdp-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --prefix=/usr        \
        --sysconfdir=/etc    \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

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

    cp -a $src/*.md $src/COPYING    $install/usr/share/doc
    cp -a $install/usr/lib        $fs/usr
    cp -a $install/etc        $fs/

    find $fs/usr -name '*a' -exec rm -f {} \;
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)