wok-next view libunibreak/receipt @ rev 20595

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Apr 16 11:36:31 2018 +0300 (2018-04-16)
parents f2405c282781
children d5aab818505e
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="libunibreak-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 }