wok-6.x annotate xneur/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | 3b402e9083e1 |
children |
rev | line source |
---|---|
al@19675 | 1 # SliTaz package receipt. |
al@19675 | 2 |
al@19675 | 3 PACKAGE="xneur" |
al@19675 | 4 VERSION="0.20.0" |
al@19675 | 5 CATEGORY="x-window" |
al@19675 | 6 SHORT_DESC="X Neural Switcher (Xorg based application)" |
al@19675 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19675 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://xneur.ru/" |
al@19675 | 10 |
al@19675 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19675 | 12 WGET_URL="https://github.com/AndrewCrewKuznetsov/xneur-devel/blob/master/dists/\ |
al@19675 | 13 $VERSION/xneur_$VERSION.orig.tar.gz?raw=true" |
al@19675 | 14 |
Hans-G?nter@22792 | 15 DEPENDS="enchant gstreamer libnotify procps xorg-libXtst xosd" |
Hans-G?nter@22792 | 16 BUILD_DEPENDS="enchant-dev gtk+-dev gettext gstreamer-dev intltool |
Hans-G?nter@22792 | 17 libnotify-dev pcre-dev perl xorg-libX11-dev xosd-dev zlib-dev" |
Hans-G?nter@22792 | 18 |
Hans-G?nter@22792 | 19 CONFIG_FILES="/etc/xneur/xneurrc" |
al@19675 | 20 |
pascal@24465 | 21 # What is the latest version available today? |
pascal@24465 | 22 current_version() |
pascal@24465 | 23 { |
pascal@24465 | 24 wget -O - https://xneur.ru/downloads/ 2>/dev/null | \ |
pascal@24465 | 25 sed "/latest/d;/XNeur-[0-9]/!d;/tar/!d;s|.*XNeur-\\(.*\\).orig.*|\\1|" | sort -Vr | sed q |
pascal@24465 | 26 } |
pascal@24465 | 27 |
al@19675 | 28 # Rules to configure and make the package. |
al@19675 | 29 compile_rules() |
al@19675 | 30 { |
Hans-G?nter@22792 | 31 ./configure \ |
Hans-G?nter@22792 | 32 -sysconfdir=/etc \ |
al@19675 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22792 | 34 make && |
Hans-G?nter@22792 | 35 make install |
al@19675 | 36 } |
al@19675 | 37 |
al@19675 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19675 | 39 genpkg_rules() |
al@19675 | 40 { |
al@19675 | 41 cook_copy_files xneur xneurrc *.so* *.mo dictionary proto proto3 *.wav |
al@19675 | 42 cook_copy_icons |
al@19675 | 43 } |