wok-6.x view xorg-xcursorgen/receipt @ rev 24559
updated fop (2.4 -> 2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:52:00 2022 +0100 (2022-02-25) |
parents | c9419274b61b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xcursorgen"
4 VERSION="1.0.7"
5 CATEGORY="x-window"
6 SHORT_DESC="X cursor generator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xcursorgen"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="libpng xorg-libX11 xorg-libXcursor"
16 BUILD_DEPENDS="libpng-dev xorg-libX11-dev xorg-libXcursor-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 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }