wok-6.x annotate xorg-printproto/receipt @ rev 25543

linux-cloop: update cloop.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 11 12:33:53 2023 +0000 (20 months ago)
parents 814c58f64f83
children
rev   line source
rcx@3505 1 # SliTaz package receipt.
rcx@3505 2
rcx@3505 3 PACKAGE="xorg-printproto"
slaxemulator@8417 4 VERSION="1.0.5"
rcx@3505 5 CATEGORY="development"
al@14604 6 SHORT_DESC="Print extension headers"
rcx@3505 7 MAINTAINER="rcx@zoominternet.net"
al@14604 8 LICENSE="other"
pascal@20423 9 WEB_SITE="https://www.x.org/"
slaxemulator@14639 10 SOURCE="printproto"
slaxemulator@14639 11 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
pankso@16132 13 HOST_ARCH="i486 arm"
al@14604 14
pascal@15598 15 DEPENDS="xorg-fontsproto xorg-libX11-dev xorg-libXau-dev pkg-config"
slaxemulator@8421 16 BUILD_DEPENDS="xorg-util-macros"
rcx@3505 17
pascal@24072 18 current_version()
pascal@24072 19 {
pascal@24072 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 22 }
pascal@24072 23
rcx@3505 24 # Rules to configure and make the package.
rcx@3505 25 compile_rules()
rcx@3505 26 {
rcx@3505 27 ./configure \
al@14604 28 --sysconfdir=/etc \
al@14604 29 --localstatedir=/var \
rcx@3505 30 $CONFIGURE_ARGS &&
al@14604 31 make &&
al@14604 32 make install
rcx@3505 33 }
rcx@3505 34
rcx@3505 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3505 36 genpkg_rules()
rcx@3505 37 {
al@14604 38 mkdir -p $fs/usr/share/licenses
al@14604 39 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 40
al@14604 41 cp -a $install/* $fs
al@14604 42 rm -rf $fs/usr/share/man
rcx@3505 43 }