wok-next annotate wayland/receipt @ rev 20302

Up gnustep-make (2.7.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 11:12:26 2017 +0100 (2017-11-10)
parents 351577bd7833
children 0e7893ac206d
rev   line source
al@19979 1 # SliTaz package receipt v2.
pankso@16163 2
pankso@16163 3 PACKAGE="wayland"
al@19979 4 VERSION="1.14.0"
pankso@16163 5 CATEGORY="x-window"
al@19979 6 SHORT_DESC="Wayland simpler X display server protocol"
pankso@16163 7 MAINTAINER="pankso@slitaz.org"
pankso@16163 8 LICENSE="MIT"
al@19979 9 WEB_SITE="https://wayland.freedesktop.org/"
al@19979 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/wayland.html"
al@19979 11
pankso@16163 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@16163 13 WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL"
pankso@16163 14
al@19979 15 BUILD_DEPENDS="libffi-dev expat-dev libxml2-dev"
al@19979 16 SPLIT="wayland-dev"
pankso@16163 17
al@19979 18 compile_rules() {
pankso@16163 19 ./configure \
pankso@16163 20 --prefix=/usr \
pankso@16498 21 --disable-documentation \
al@19979 22 $CONFIGURE_ARGS &&
pankso@16163 23 make && make install
pankso@16163 24 }
pankso@16163 25
al@19979 26 genpkg_rules() {
al@19979 27 case $PACKAGE in
al@19979 28 wayland)
al@19979 29 copy @std
al@19979 30 DEPENDS="expat libffi libxml2"
al@19979 31 ;;
al@19979 32 *-dev)
al@19979 33 copy @dev
al@19979 34 DEPENDS="wayland libffi-dev"
al@19979 35 ;;
al@19979 36 esac
pankso@16163 37 }