wok view xneur/receipt @ rev 25778

Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:06:10 2024 +0000 (2 months ago)
parents 3b402e9083e1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xneur"
4 VERSION="0.20.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X Neural Switcher (Xorg based application)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://xneur.ru/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/AndrewCrewKuznetsov/xneur-devel/blob/master/dists/\
13 $VERSION/xneur_$VERSION.orig.tar.gz?raw=true"
15 DEPENDS="enchant gstreamer libnotify procps xorg-libXtst xosd"
16 BUILD_DEPENDS="enchant-dev gtk+-dev gettext gstreamer-dev intltool
17 libnotify-dev pcre-dev perl xorg-libX11-dev xosd-dev zlib-dev"
19 CONFIG_FILES="/etc/xneur/xneurrc"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - https://xneur.ru/downloads/ 2>/dev/null | \
25 sed "/latest/d;/XNeur-[0-9]/!d;/tar/!d;s|.*XNeur-\\(.*\\).orig.*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 -sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files xneur xneurrc *.so* *.mo dictionary proto proto3 *.wav
42 cook_copy_icons
43 }