wok-6.x view xorg-imake/receipt @ rev 25258
qt5: modified WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:00:31 2022 +0100 (2022-07-15) |
parents | 5d79829fa876 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-imake"
4 VERSION="1.0.8"
5 CATEGORY="x-window"
6 SHORT_DESC="X imake utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="imake"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/util/$TARBALL"
15 DEPENDS="xorg-cf-files"
16 BUILD_DEPENDS="perl pkg-config xorg-gccmakedep xorg-makedepend xorg-xproto"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 --with-create-lib-cmd="ar cq" \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
35 chmod +x $DESTDIR/usr/bin/*
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }