wok-current annotate xorg-trapproto/receipt @ rev 25730
Fix depend for xorg-server (libxshmfence)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 13:05:56 2024 +0000 (6 days ago) |
parents | a23978bfa665 |
children |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-trapproto" |
pankso@87 | 4 VERSION="3.4.3" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Trap extension headers" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="trapproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@87 | 13 |
shann@25629 | 14 DEPENDS="xorg-libXt-dev pkg-config" |
al@14604 | 15 BUILD_DEPENDS="xorg-util-macros" |
al@14604 | 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 |
pankso@87 | 25 # Rules to configure and make the package. |
pankso@87 | 26 compile_rules() |
pankso@87 | 27 { |
al@14604 | 28 ./configure \ |
al@14604 | 29 --sysconfdir=/etc \ |
al@14604 | 30 --localstatedir=/var \ |
al@14604 | 31 $CONFIGURE_ARGS && |
al@14604 | 32 make && |
al@14604 | 33 make install |
pankso@87 | 34 } |
pankso@87 | 35 |
pankso@87 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 37 genpkg_rules() |
pankso@87 | 38 { |
al@14604 | 39 mkdir -p $fs/usr/share/licenses |
al@14604 | 40 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 41 |
al@14604 | 42 cp -a $install/* $fs |
shann@25629 | 43 |
shann@25629 | 44 # Ensure remove .la files |
shann@25629 | 45 find $fs -name "*.la" -delete |
pankso@87 | 46 } |