wok annotate xorg-cf-files/receipt @ rev 25034
gadmin-antivirus: fix deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 20 09:40:57 2022 +0000 (2022-05-20) |
parents | 0d1c11af01b8 |
children | 72cdda003ffb |
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 { |
Hans-G?nter@22185 | 27 ./configure \ |
Hans-G?nter@22185 | 28 --prefix=/usr \ |
Hans-G?nter@22185 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22185 | 30 --mandir=/usr/share/man \ |
rcx@3142 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22185 | 32 make && |
Hans-G?nter@22185 | 33 make DESTDIR=$DESTDIR install |
rcx@3142 | 34 } |
rcx@3142 | 35 |
rcx@3142 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3142 | 37 genpkg_rules() |
rcx@3142 | 38 { |
rcx@3142 | 39 mkdir -p $fs/usr |
pascal@15579 | 40 cp -a $install/usr/lib $fs/usr |
rcx@3142 | 41 } |