wok annotate xaos/receipt @ rev 25522
created recipes for libtermkey and libtermkey-dev 0.22
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:12:54 2023 +0100 (20 months ago) |
parents | d1f31f5f6401 |
children | 0262035dc1e7 |
rev | line source |
---|---|
pascal@18125 | 1 # SliTaz package receipt. |
pascal@18125 | 2 |
pascal@18125 | 3 PACKAGE="xaos" |
pascal@18125 | 4 VERSION="3.6" |
pascal@18125 | 5 CATEGORY="graphics" |
pascal@18125 | 6 SHORT_DESC="Fast interactive fractal zoomer." |
pascal@18125 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19678 | 8 LICENSE="GPL2" |
pascal@18125 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24942 | 10 WEB_SITE="https://xaos-project.github.io/" |
pascal@24976 | 11 WGET_URL="https://github.com/xaos-project/XaoS/archive/refs/tags/release-$VERSION.tar.gz" |
pascal@18125 | 12 |
pascal@18125 | 13 DEPENDS="libpng zlib" |
pascal@18125 | 14 BUILD_DEPENDS="pkg-config libpng-dev nasm gettext" |
pascal@18125 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - https://github.com/xaos-project/XaoS/releases 2>/dev/null | \ |
pascal@24304 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
pascal@18125 | 23 # Rules to configure and make the package. |
pascal@18125 | 24 compile_rules() |
pascal@18125 | 25 { |
pascal@18125 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@18125 | 27 --mandir=/usr/share/man \ |
pascal@18125 | 28 $CONFIGURE_ARGS && |
pascal@18125 | 29 make && |
pascal@18125 | 30 make DESTDIR=$DESTDIR install |
pascal@18125 | 31 } |
pascal@18125 | 32 |
pascal@18125 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18125 | 34 genpkg_rules() |
pascal@18125 | 35 { |
pascal@18125 | 36 cp -a $install/* $fs/ |
pascal@18125 | 37 } |