wok annotate xorg-xf86driproto/receipt @ rev 24707

updated lcov (1.14 -> 1.15)
author Hans-G?nter Theisgen
date Mon Mar 14 16:18:13 2022 +0100 (2022-03-14)
parents 814c58f64f83
children
rev   line source
pankso@88 1 # SliTaz package receipt.
pankso@88 2
pankso@88 3 PACKAGE="xorg-xf86driproto"
slaxemulator@8418 4 VERSION="2.1.1"
pankso@200 5 CATEGORY="development"
al@14604 6 SHORT_DESC="XF86DRI extension headers"
pankso@88 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
pascal@20423 9 WEB_SITE="https://www.x.org/"
slaxemulator@14639 10 SOURCE="xf86driproto"
slaxemulator@14639 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
al@14604 13
pascal@15598 14 DEPENDS="xorg-util-macros libdrm-dev pkg-config"
slaxemulator@8422 15 BUILD_DEPENDS="xorg-util-macros"
pankso@88 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
pankso@88 23 # Rules to configure and make the package.
pankso@88 24 compile_rules()
pankso@88 25 {
al@14604 26 ./configure \
al@14604 27 --sysconfdir=/etc \
al@14604 28 --localstatedir=/var \
al@14604 29 $CONFIGURE_ARGS &&
al@14604 30 make &&
al@14604 31 make install
pankso@88 32 }
pankso@88 33
pankso@88 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@88 35 genpkg_rules()
pankso@88 36 {
al@14604 37 mkdir -p $fs/usr/share/licenses
al@14604 38 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 39
al@14604 40 cp -a $install/* $fs
pankso@88 41 }
psychomaniak@19154 42