wok-current annotate xorg-gccmakedep/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (13 days ago) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pascal@3530 | 1 # SliTaz package receipt. |
pascal@3530 | 2 |
pascal@3530 | 3 PACKAGE="xorg-gccmakedep" |
Hans-G?nter@22190 | 4 VERSION="1.0.3" |
pascal@3530 | 5 CATEGORY="x-window" |
pascal@3530 | 6 SHORT_DESC="X gccmakedep utility." |
pascal@3530 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22190 | 9 WEB_SITE="https://www.x.org/" |
Hans-G?nter@22190 | 10 |
pascal@3530 | 11 SOURCE="gccmakedep" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@3530 | 13 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
pascal@3530 | 14 |
pascal@15579 | 15 BUILD_DEPENDS="xorg-dev-proto" |
pascal@15579 | 16 |
shann@25728 | 17 HOST_ARCH="i486 x86_64" |
shann@25728 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pascal@3530 | 25 # Rules to configure and make the package. |
pascal@3530 | 26 compile_rules() |
pascal@3530 | 27 { |
Hans-G?nter@22190 | 28 ./configure \ |
Hans-G?nter@22190 | 29 --prefix=/usr \ |
Hans-G?nter@22190 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22190 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22190 | 32 make && |
pascal@15579 | 33 make DESTDIR=$DESTDIR install |
Hans-G?nter@22190 | 34 |
pascal@15579 | 35 chmod +x $DESTDIR/usr/bin/* |
pascal@3530 | 36 } |
pascal@3530 | 37 |
pascal@3530 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3530 | 39 genpkg_rules() |
pascal@3530 | 40 { |
pascal@3530 | 41 mkdir -p $fs/usr |
pascal@15579 | 42 cp -a $install/usr/bin $fs/usr |
pascal@3530 | 43 } |