wok view xorgxrdp/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents cc915c928cd6
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorgxrdp"
4 VERSION="0.2.16"
5 CATEGORY="network"
6 SHORT_DESC="Xorg drivers for xrdp."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.xrdp.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/neutrinolabs/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 SUGGESTED="xrdp"
15 DEPENDS="xorg-server"
16 BUILD_DEPENDS="autoconf automake libtool nasm pkg-config
17 xorg-server-dev xrdp-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $install/usr/share/doc
41 mkdir -p $fs/usr
43 cp -a $src/*.md $src/COPYING $install/usr/share/doc
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/etc $fs/
47 find $fs/usr -name '*a' -exec rm -f {} \;
48 }