wok annotate xorg-cf-files/receipt @ rev 25268
xorg-cf-files/Imake.tmpl: update ArCmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 17 14:59:20 2022 +0000 (2022-07-17) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
rcx@3142 | 1 # SliTaz package receipt. |
rcx@3142 | 2 |
rcx@3142 | 3 PACKAGE="xorg-cf-files" |
Hans-G?nter@22185 | 4 VERSION="1.0.6" |
rcx@3142 | 5 CATEGORY="development" |
Hans-G?nter@22185 | 6 SHORT_DESC="Configuration files used by xorg and imake." |
rcx@3142 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22185 | 9 WEB_SITE="https://www.x.org/" |
Hans-G?nter@22185 | 10 |
rcx@3142 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
rcx@3142 | 12 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
rcx@3142 | 13 |
pascal@15579 | 14 DEPENDS="" |
pascal@15579 | 15 BUILD_DEPENDS="" |
pascal@15579 | 16 |
pascal@24415 | 17 # What is the latest version available today? |
pascal@24415 | 18 current_version() |
pascal@24415 | 19 { |
pascal@24415 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 22 } |
pascal@24415 | 23 |
rcx@3142 | 24 # Rules to configure and make the package. |
rcx@3142 | 25 compile_rules() |
rcx@3142 | 26 { |
pascal@25268 | 27 sed -i 's|clq|cq|' Imake.tmpl |
Hans-G?nter@22185 | 28 ./configure \ |
Hans-G?nter@22185 | 29 --prefix=/usr \ |
Hans-G?nter@22185 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@22185 | 31 --mandir=/usr/share/man \ |
rcx@3142 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22185 | 33 make && |
Hans-G?nter@22185 | 34 make DESTDIR=$DESTDIR install |
rcx@3142 | 35 } |
rcx@3142 | 36 |
rcx@3142 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3142 | 38 genpkg_rules() |
rcx@3142 | 39 { |
rcx@3142 | 40 mkdir -p $fs/usr |
pascal@15579 | 41 cp -a $install/usr/lib $fs/usr |
rcx@3142 | 42 } |