wok view liblinebreak/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 65ff25c4de90
children d3556b8f5c3d
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="https://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 }