wok-6.x annotate xorg-dri2proto/receipt @ rev 24588

updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author Hans-G?nter Theisgen
date Mon Feb 28 15:06:59 2022 +0100 (2022-02-28)
parents 814c58f64f83
children
rev   line source
pankso@3010 1 # SliTaz package receipt.
pankso@3010 2
pankso@3010 3 PACKAGE="xorg-dri2proto"
al@14604 4 VERSION="2.8"
pankso@3010 5 CATEGORY="development"
al@14604 6 SHORT_DESC="DRI2 extension headers"
pankso@3010 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
pascal@20423 9 WEB_SITE="https://www.x.org/"
slaxemulator@14639 10 SOURCE="dri2proto"
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 pkg-config"
gokhlayeh@6993 15 BUILD_DEPENDS="xorg-util-macros"
pankso@3010 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@3010 23 # Rules to configure and make the package.
pankso@3010 24 compile_rules()
pankso@3010 25 {
pankso@12500 26 ./configure \
pankso@12500 27 --sysconfdir=/etc \
pankso@12500 28 --localstatedir=/var \
pankso@12500 29 $CONFIGURE_ARGS &&
al@14604 30 make &&
al@14604 31 make install
pankso@3010 32 }
pankso@3010 33
pankso@3010 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3010 35 genpkg_rules()
pankso@3010 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
pankso@12500 40 cp -a $install/* $fs
al@14604 41 rm -rf $fs/usr/share/doc
pankso@3010 42 }
psychomaniak@19154 43