wok-current view fribidi/receipt @ rev 24319

Add xsuspend
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 25 17:24:16 2022 +0000 (2022-01-25)
parents ab6e8f63bcc1
children 4bcc87e4326a
line source
1 # SliTaz package receipt.
3 PACKAGE="fribidi"
4 VERSION="1.0.8"
5 CATEGORY="x-window"
6 SHORT_DESC="Free implementation of the Unicode Bidirectional Algorithm."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://fribidi.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 DEPENDS="glibc-base"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make -j 1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin/fribidi $fs/usr/bin
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }