wok annotate xorgxrdp/receipt @ rev 23216

openvpn: add make-ovpn
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 22 20:02:34 2020 +0100 (2020-03-22)
parents aa52400acd4d
children 5ea0ce1cecc0
rev   line source
pascal@20063 1 # SliTaz package receipt.
pascal@20063 2
pascal@20063 3 PACKAGE="xorgxrdp"
Hans-G?nter@22303 4 VERSION="0.2.11"
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@20063 19 # Rules to configure and make the package.
pascal@20063 20 compile_rules()
pascal@20063 21 {
Hans-G?nter@22303 22 ./configure \
Hans-G?nter@22303 23 --prefix=/usr \
Hans-G?nter@22303 24 --sysconfdir=/etc \
pascal@20063 25 $CONFIGURE_ARGS &&
pascal@20063 26 make &&
pascal@20063 27 make DESTDIR=$DESTDIR install
pascal@20063 28 }
pascal@20063 29
pascal@20063 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20063 31 genpkg_rules()
pascal@20063 32 {
Hans-G?nter@22303 33 mkdir -p $install/usr/share/doc
Hans-G?nter@22303 34 mkdir -p $fs/usr
Hans-G?nter@22303 35
Hans-G?nter@22303 36 cp -a $src/*.md $src/COPYING $install/usr/share/doc
Hans-G?nter@22303 37 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22303 38 cp -a $install/etc $fs/
Hans-G?nter@22303 39
pascal@20063 40 find $fs/usr -name '*a' -exec rm -f {} \;
pascal@20063 41 }