wok view libstroke/receipt @ rev 25770
dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 06 11:29:23 2024 +0000 (2 months ago) |
parents | 68f9518c4cb0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libstroke"
4 VERSION="0.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Stroke translation library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://web.archive.org/web/20161204100704/http://etla.net/libstroke/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="xorg-libX11-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sources.archlinux.org/other/packages/libstroke/ 2>/dev/null | \
20 sed '/tar/!d;s|.*libstroke-||;s|.tar.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }