wok annotate xorgxrdp/receipt @ rev 24057

Up intel-microcode (20210216), lzsa (1.3.7), xrdp (0.9.16), xorgxrdp (0.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 08 14:31:15 2021 +0000 (2021-06-08)
parents 5ea0ce1cecc0
children 0262035dc1e7
rev   line source
pascal@20063 1 # SliTaz package receipt.
pascal@20063 2
pascal@20063 3 PACKAGE="xorgxrdp"
pascal@24057 4 VERSION="0.2.16"
pascal@20063 5 CATEGORY="network"
pascal@20063 6 SHORT_DESC="Xorg drivers for xrdp."
pascal@20063 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20063 8 LICENSE="MIT"
Hans-G?nter@22303 9 WEB_SITE="http://www.xrdp.org/"
Hans-G?nter@22303 10
pascal@20063 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22303 12 WGET_URL="https://github.com/neutrinolabs/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pascal@20063 13
Hans-G?nter@22303 14 SUGGESTED="xrdp"
pascal@20064 15 DEPENDS="xorg-server"
Hans-G?nter@22303 16 BUILD_DEPENDS="autoconf automake libtool nasm pkg-config
Hans-G?nter@22303 17 xorg-server-dev xrdp-dev"
pascal@20063 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
pascal@20063 25 # Rules to configure and make the package.
pascal@20063 26 compile_rules()
pascal@20063 27 {
Hans-G?nter@22303 28 ./configure \
Hans-G?nter@22303 29 --prefix=/usr \
Hans-G?nter@22303 30 --sysconfdir=/etc \
pascal@20063 31 $CONFIGURE_ARGS &&
pascal@20063 32 make &&
pascal@20063 33 make DESTDIR=$DESTDIR install
pascal@20063 34 }
pascal@20063 35
pascal@20063 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20063 37 genpkg_rules()
pascal@20063 38 {
Hans-G?nter@22303 39 mkdir -p $install/usr/share/doc
Hans-G?nter@22303 40 mkdir -p $fs/usr
Hans-G?nter@22303 41
Hans-G?nter@22303 42 cp -a $src/*.md $src/COPYING $install/usr/share/doc
Hans-G?nter@22303 43 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22303 44 cp -a $install/etc $fs/
Hans-G?nter@22303 45
pascal@20063 46 find $fs/usr -name '*a' -exec rm -f {} \;
pascal@20063 47 }