wok annotate gxneur/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (11 days ago)
parents a78610b2eb47
children
rev   line source
al@19675 1 # SliTaz package receipt.
al@19675 2
al@19675 3 PACKAGE="gxneur"
al@19675 4 VERSION="0.20.0"
al@19675 5 CATEGORY="x-window"
al@19675 6 SHORT_DESC="X Neural Switcher (GTK+ based application with tray icon)"
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/gxneur_$VERSION.orig.tar.gz?raw=true"
al@19675 14
al@19675 15 DEPENDS="xneur GConf gtk+"
al@19675 16 BUILD_DEPENDS="xorg-libX11-dev intltool gettext perl xneur-dev gtk+-dev GConf-dev"
al@19675 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - https://xneur.ru/downloads/ 2>/dev/null | \
pascal@24445 22 sed '/gxneur_[0-9]/!d;/tar/!d;s|.*/gxneur_||;s|.[ot].*||;q'
pascal@24445 23 }
pascal@24445 24
al@19675 25 # Rules to configure and make the package.
al@19675 26 compile_rules()
al@19675 27 {
al@19675 28 ./configure \
al@19675 29 -sysconfdir=/etc \
al@19675 30 $CONFIGURE_ARGS &&
al@19675 31 make && make install
al@19675 32 }
al@19675 33
al@19675 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19675 35 genpkg_rules()
al@19675 36 {
al@19675 37 cp -a $install/* $fs
al@19675 38 }