wok view liblinebreak/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (3 months ago) |
parents | b0069c845544 |
children |
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }