wok-current annotate liblinebreak/receipt @ rev 24464
created recipes for dargui and dargui-lang
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 11:06:13 2022 +0100 (2022-02-17) |
parents | 5b5cac5612a2 |
children | 65ff25c4de90 |
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" |
Hans-G?nter@23079 | 9 WEB_SITE="http://vimgadgets.sourceforge.net/liblinebreak/" |
Hans-G?nter@23079 | 10 |
devl547@5223 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
devl547@5223 | 12 WGET_URL="http://downloads.sourceforge.net/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 |