wok-undigest annotate xorgproto/receipt @ rev 1222

copied xorgproto recipe from wok-next
author Hans-G?nter Theisgen
date Fri Nov 15 17:36:34 2019 +0100 (2019-11-15)
parents
children
rev   line source
Hans-G?nter@1222 1 # SliTaz package receipt v2.
Hans-G?nter@1222 2
Hans-G?nter@1222 3 PACKAGE="xorgproto"
Hans-G?nter@1222 4 VERSION="2018.4"
Hans-G?nter@1222 5 CATEGORY="x-window"
Hans-G?nter@1222 6 SHORT_DESC="X.Org combined protocol headers"
Hans-G?nter@1222 7 MAINTAINER="al.bobylev@gmail.com"
Hans-G?nter@1222 8 LICENSE="MIT"
Hans-G?nter@1222 9 WEB_SITE="https://github.com/freedesktop/xorg-xorgproto"
Hans-G?nter@1222 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xorgproto.html"
Hans-G?nter@1222 11 HOST_ARCH="any"
Hans-G?nter@1222 12
Hans-G?nter@1222 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@1222 14 WGET_URL="https://github.com/freedesktop/xorg-xorgproto/archive/$TARBALL"
Hans-G?nter@1222 15 TARBALL_SHA1="f0870dfbaa9cccac5d0acbf61ea76196b20b5ad8"
Hans-G?nter@1222 16
Hans-G?nter@1222 17 BUILD_DEPENDS="meson ninja"
Hans-G?nter@1222 18
Hans-G?nter@1222 19 COPY="@dev"
Hans-G?nter@1222 20
Hans-G?nter@1222 21 compile_rules() {
Hans-G?nter@1222 22 mkdir build
Hans-G?nter@1222 23 cd build
Hans-G?nter@1222 24 # legacy=true will install these additional .pc's:
Hans-G?nter@1222 25 # evieproto, fontcacheproto, lg3dproto, printproto, xcalibrateproto, xf86rushproto
Hans-G?nter@1222 26 meson-wrapper \
Hans-G?nter@1222 27 --datadir=/usr/lib \
Hans-G?nter@1222 28 -Dlegacy=true &&
Hans-G?nter@1222 29 ninja &&
Hans-G?nter@1222 30 ninja install || return 1
Hans-G?nter@1222 31
Hans-G?nter@1222 32 cook_pick_docs ../[^m]*.txt ../PM_spec
Hans-G?nter@1222 33 }
Hans-G?nter@1222 34
Hans-G?nter@1222 35 TAGS="Xorg"
Hans-G?nter@1222 36
Hans-G?nter@1222 37 PROVIDE="xorg-xorgproto"