wok-next view libunibreak/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 5841522533ec
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libunibreak"
4 VERSION="4.0"
5 CATEGORY="libs"
6 SHORT_DESC="Implementation of the line breaking algorithm"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://github.com/adah1972/libunibreak/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/adah1972/libunibreak/releases/download/libunibreak_${VERSION//./_}/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 ./configure $CONFIGURE_ARGS &&
18 fix libtool &&
19 make &&
20 make install || return 1
22 # fix broken link
23 ln -sf libunibreak.a $install/usr/lib/liblinebreak.a
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libunibreak) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }