wok-6.x annotate xorg-xcursorgen/receipt @ rev 25342
Down python-bcrypt: last version supporting python < 3.6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 17:10:41 2022 +0000 (2022-07-24) |
parents | c9419274b61b |
children |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xcursorgen" |
Hans-G?nter@22252 | 4 VERSION="1.0.7" |
pankso@262 | 5 CATEGORY="x-window" |
pankso@262 | 6 SHORT_DESC="X cursor generator." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22252 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22252 | 10 |
pankso@262 | 11 SOURCE="xcursorgen" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@262 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
Hans-G?nter@22252 | 14 |
Hans-G?nter@22252 | 15 DEPENDS="libpng xorg-libX11 xorg-libXcursor" |
Hans-G?nter@22252 | 16 BUILD_DEPENDS="libpng-dev xorg-libX11-dev xorg-libXcursor-dev" |
Hans-G?nter@22252 | 17 |
pankso@16081 | 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@22252 | 29 ./configure \ |
Hans-G?nter@22252 | 30 --prefix=/usr \ |
Hans-G?nter@22252 | 31 --mandir=/usr/share/man \ |
pascal@2416 | 32 $CONFIGURE_ARGS && |
pascal@2416 | 33 make && |
pascal@15579 | 34 make DESTDIR=$DESTDIR install |
pankso@262 | 35 } |
pankso@262 | 36 |
pankso@262 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 38 genpkg_rules() |
pankso@262 | 39 { |
pankso@262 | 40 mkdir -p $fs/usr |
Hans-G?nter@22252 | 41 cp -a $install/usr/bin $fs/usr |
pankso@262 | 42 } |