wok-6.x view xorgxrdp/receipt @ rev 24960
updated ncurses packages (6.2 -> 6.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 17:46:30 2022 +0100 (2022-04-23) |
parents | 5ea0ce1cecc0 |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $install/usr/share/doc
40 mkdir -p $fs/usr
42 cp -a $src/*.md $src/COPYING $install/usr/share/doc
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/etc $fs/
46 find $fs/usr -name '*a' -exec rm -f {} \;
47 }