wok annotate liblinebreak/receipt @ rev 25469

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 07 09:15:33 2022 +0000 (19 months ago)
parents 65ff25c4de90
children d3556b8f5c3d
rev   line source
devl547@5223 1 # SliTaz package receipt.
devl547@5223 2
devl547@5223 3 PACKAGE="liblinebreak"
Hans-G?nter@23079 4 VERSION="2.1"
devl547@5223 5 CATEGORY="development"
Hans-G?nter@23079 6 SHORT_DESC="Line breaking library."
devl547@5223 7 MAINTAINER="devl547@gmail.com"
pascal@15473 8 LICENSE="zlib/libpng"
pascal@25469 9 WEB_SITE="https://vimgadgets.sourceforge.net/liblinebreak/"
Hans-G?nter@23079 10
devl547@5223 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25465 12 WGET_URL="$SF_MIRROR/project/vimgadgets/$PACKAGE/$VERSION/$TARBALL"
devl547@5223 13
pascal@24361 14 # What is the latest version available today?
pascal@24361 15 current_version()
pascal@24361 16 {
pascal@24361 17 wget -O - https://sourceforge.net/projects/vimgadgets/files/liblinebreak/ 2>/dev/null | \
pascal@24361 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 19 sed '/scope="row/!d;s|.*/liblinebreak/||;s|/.*||;q'
pascal@24361 20 }
pascal@24361 21
devl547@5223 22 # Rules to configure and make the package.
devl547@5223 23 compile_rules()
devl547@5223 24 {
Hans-G?nter@23079 25 ./configure \
Hans-G?nter@23079 26 --prefix=/usr \
Hans-G?nter@23079 27 $CONFIGURE_ARGS &&
devl547@5223 28 make &&
pascal@15473 29 make DESTDIR=$DESTDIR install
devl547@5223 30 }
devl547@5223 31
devl547@5223 32 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5223 33 genpkg_rules()
devl547@5223 34 {
devl547@5223 35 mkdir -p $fs/usr/lib
Hans-G?nter@23079 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@5223 37 }
devl547@5223 38