wok view liblinebreak/receipt @ rev 25465

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