wok-current view xorg-xclock/receipt @ rev 24629
updated gsl and gsl-dev (2.6 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 09:29:44 2022 +0100 (2022-03-08) |
parents | 9d8f358f820e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xclock"
4 VERSION="1.0.9"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple clock for X."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xclock"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="xorg-libXaw xorg-libXft xorg-libxkbfile xorg-libXmu zlib"
16 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXft-dev xorg-libXmu-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
41 }