wok annotate xorg-dri3proto/receipt @ rev 25032

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:08 2022 +0100 (2022-05-20)
parents 814c58f64f83
children
rev   line source
pascal@18123 1 # SliTaz package receipt.
pascal@18123 2
pascal@18123 3 PACKAGE="xorg-dri3proto"
pascal@18123 4 VERSION="1.0"
pascal@18123 5 CATEGORY="development"
pascal@18123 6 SHORT_DESC="DRI3 extension headers"
pascal@18123 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18123 8 LICENSE="other"
pascal@20423 9 WEB_SITE="https://www.x.org/"
pascal@18123 10 SOURCE="dri3proto"
pascal@18123 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@18123 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
pascal@18123 13
pascal@18123 14 DEPENDS="xorg-util-macros pkg-config"
pascal@18123 15 BUILD_DEPENDS="xorg-util-macros"
pascal@18123 16
pascal@24072 17 current_version()
pascal@24072 18 {
pascal@24072 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
pascal@18123 23 # Rules to configure and make the package.
pascal@18123 24 compile_rules()
pascal@18123 25 {
pascal@18123 26 ./configure \
pascal@18123 27 --sysconfdir=/etc \
pascal@18123 28 --localstatedir=/var \
pascal@18123 29 $CONFIGURE_ARGS &&
pascal@18123 30 make &&
pascal@18123 31 make install
pascal@18123 32 }
pascal@18123 33
pascal@18123 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18123 35 genpkg_rules()
pascal@18123 36 {
pascal@18123 37 cp -a $install/* $fs
pascal@18123 38 rm -rf $fs/usr/share
pascal@18123 39 }
psychomaniak@19154 40