wok annotate compface/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 | d805d3de4546 |
children |
rev | line source |
---|---|
al@14468 | 1 # SliTaz package receipt. |
al@14468 | 2 |
al@14468 | 3 PACKAGE="compface" |
al@14468 | 4 VERSION="1.5.2" |
al@14468 | 5 CATEGORY="utilities" |
al@14468 | 6 SHORT_DESC="Utils & libs to convert from/to X-Face format" |
al@14468 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14468 | 8 LICENSE="MIT" |
al@14468 | 9 WEB_SITE="http://freecode.com/projects/compface" |
al@14468 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14468 | 11 WGET_URL="http://ftp.xemacs.org/pub/xemacs/aux/$TARBALL" |
al@14468 | 12 |
al@14468 | 13 DEPENDS="glibc-base" |
al@14468 | 14 |
pascal@24436 | 15 # What is the latest version available today? |
pascal@24436 | 16 current_version() |
pascal@24436 | 17 { |
pascal@24436 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24436 | 19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24436 | 20 } |
pascal@24436 | 21 |
al@14468 | 22 # Rules to configure and make the package. |
al@14468 | 23 compile_rules() |
al@14468 | 24 { |
al@14468 | 25 patch < $stuff/makefile-use-destdir.patch && |
al@14468 | 26 ./configure $CONFIGURE_ARGS && |
al@14468 | 27 make && |
al@14468 | 28 make install |
al@14468 | 29 } |
al@14468 | 30 |
al@14468 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14468 | 32 genpkg_rules() |
al@14468 | 33 { |
al@14468 | 34 mkdir -p $fs/usr |
al@14468 | 35 cp -a $install/usr/bin $fs/usr |
al@14468 | 36 } |