wok-undigest diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorgproto/receipt	Fri Nov 15 17:36:34 2019 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="xorgproto"
     1.7 +VERSION="2018.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="X.Org combined protocol headers"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://github.com/freedesktop/xorg-xorgproto"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/xorgproto.html"
    1.14 +HOST_ARCH="any"
    1.15 +
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WGET_URL="https://github.com/freedesktop/xorg-xorgproto/archive/$TARBALL"
    1.18 +TARBALL_SHA1="f0870dfbaa9cccac5d0acbf61ea76196b20b5ad8"
    1.19 +
    1.20 +BUILD_DEPENDS="meson ninja"
    1.21 +
    1.22 +COPY="@dev"
    1.23 +
    1.24 +compile_rules() {
    1.25 +	mkdir build
    1.26 +	cd    build
    1.27 +	# legacy=true will install these additional .pc's:
    1.28 +	# evieproto, fontcacheproto, lg3dproto, printproto, xcalibrateproto, xf86rushproto
    1.29 +	meson-wrapper \
    1.30 +		--datadir=/usr/lib \
    1.31 +		-Dlegacy=true &&
    1.32 +	ninja &&
    1.33 +	ninja install || return 1
    1.34 +
    1.35 +	cook_pick_docs ../[^m]*.txt ../PM_spec
    1.36 +}
    1.37 +
    1.38 +TAGS="Xorg"
    1.39 +
    1.40 +PROVIDE="xorg-xorgproto"