wok-6.x annotate xorg-xclock/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 9d8f358f820e |
children |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xclock" |
Hans-G?nter@22250 | 4 VERSION="1.0.9" |
pankso@262 | 5 CATEGORY="x-window" |
pankso@262 | 6 SHORT_DESC="Simple clock for X." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22250 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22250 | 10 |
pankso@262 | 11 SOURCE="xclock" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@262 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
Hans-G?nter@22250 | 14 |
Hans-G?nter@22250 | 15 DEPENDS="xorg-libXaw xorg-libXft xorg-libxkbfile xorg-libXmu zlib" |
Hans-G?nter@22250 | 16 BUILD_DEPENDS="xorg-libXaw-dev xorg-libXft-dev xorg-libXmu-dev" |
Hans-G?nter@22250 | 17 |
pankso@16067 | 18 HOST_ARCH="i486 arm" |
pankso@262 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@262 | 26 # Rules to configure and make the package. |
pankso@262 | 27 compile_rules() |
pankso@262 | 28 { |
Hans-G?nter@22250 | 29 ./configure \ |
Hans-G?nter@22250 | 30 --mandir=/usr/share/man \ |
pascal@1470 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22250 | 32 make && |
Hans-G?nter@22250 | 33 make install |
pankso@262 | 34 } |
pankso@262 | 35 |
pankso@262 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 37 genpkg_rules() |
pankso@262 | 38 { |
pankso@262 | 39 mkdir -p $fs/usr/share |
pankso@12521 | 40 cp -a $install/usr/bin $fs/usr |
pankso@262 | 41 } |