wok-next annotate libunibreak/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | 5841522533ec |
children |
rev | line source |
---|---|
al@20400 | 1 # SliTaz package receipt v2. |
al@20400 | 2 |
al@20400 | 3 PACKAGE="libunibreak" |
al@20400 | 4 VERSION="4.0" |
al@20400 | 5 CATEGORY="libs" |
al@20400 | 6 SHORT_DESC="Implementation of the line breaking algorithm" |
al@20400 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20400 | 8 LICENSE="zlib/libpng" |
al@20400 | 9 WEB_SITE="https://github.com/adah1972/libunibreak/" |
al@20400 | 10 |
al@20400 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20400 | 12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL" |
al@20400 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-dev" |
al@20400 | 15 |
al@20400 | 16 compile_rules() { |
al@20595 | 17 ./configure $CONFIGURE_ARGS && |
al@20595 | 18 fix libtool && |
al@20595 | 19 make && |
al@20595 | 20 make install || return 1 |
al@20400 | 21 |
al@20400 | 22 # fix broken link |
al@20400 | 23 ln -sf libunibreak.a $install/usr/lib/liblinebreak.a |
al@20400 | 24 } |
al@20400 | 25 |
al@20400 | 26 genpkg_rules() { |
al@20400 | 27 case $PACKAGE in |
al@20400 | 28 libunibreak) copy @std;; |
al@20400 | 29 *-dev) copy @dev;; |
al@20400 | 30 esac |
al@20400 | 31 } |