wok-current view xorg-cf-files/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (5 weeks ago)
parents 3ad63c8fc2f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-cf-files"
4 VERSION="1.0.7"
5 CATEGORY="development"
6 SHORT_DESC="Configuration files used by xorg and imake."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/util/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 HOST_ARCH="i486 x86_64"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|clq|cq|' Imake.tmpl
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 }