wok-current diff xorg-dri2proto/receipt @ rev 25736

Add miss git-branch patch for cookutils
author Stanislas Leduc <shann@slitaz.org>
date Mon Jan 20 09:30:59 2025 +0000 (7 days ago)
parents 5926178cd6fa
children
line diff
     1.1 --- a/xorg-dri2proto/receipt	Thu Dec 05 08:39:45 2024 +0000
     1.2 +++ b/xorg-dri2proto/receipt	Mon Jan 20 09:30:59 2025 +0000
     1.3 @@ -1,46 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-dri2proto"
     1.7 -VERSION="2.8"
     1.8 +VERSION="2021.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="DRI2 extension headers"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="other"
    1.13  WEB_SITE="https://www.x.org/"
    1.14  SOURCE="dri2proto"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WGET_URL="$XORG_MIRROR/proto/$TARBALL"
    1.17 +WANTED="xorgproto"
    1.18  
    1.19  DEPENDS="xorg-util-macros pkg-config"
    1.20 -BUILD_DEPENDS="xorg-util-macros"
    1.21  
    1.22  HOST_ARCH="i486 x86_64"
    1.23  
    1.24 -current_version()
    1.25 -{
    1.26 -	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.27 -	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.28 -}
    1.29 -
    1.30 -# Rules to configure and make the package.
    1.31 -compile_rules()
    1.32 -{
    1.33 -	./configure \
    1.34 -		--sysconfdir=/etc \
    1.35 -		--localstatedir=/var \
    1.36 -		$CONFIGURE_ARGS &&
    1.37 -	make &&
    1.38 -	make install
    1.39 -}
    1.40 -
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr/share/licenses
    1.45 -	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.46 +        mkdir -p $fs/usr/share/licenses
    1.47 +        cp -a $WOK/xorgproto/source/*/COPYING-$SOURCE $fs/usr/share/licenses/$PACKAGE.txt
    1.48  
    1.49 -	cp -a $install/* $fs
    1.50 -	rm -rf $fs/usr/share/doc
    1.51 +        for file in $(cat $WOK/xorgproto/stuff/$PACKAGE.list)
    1.52 +        do
    1.53 +                mkdir -p $fs/$(dirname $file)
    1.54 +                cp $install/$file $fs/$file
    1.55 +        done
    1.56  
    1.57          # Ensure remove .la files
    1.58          find $fs -name "*.la" -delete