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