wok-current annotate libmatchbox/receipt @ rev 25376
updated tzdata (2019c -> 2022a)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 10:43:02 2022 +0100 (2022-07-30) |
parents | 288d42424f1e |
children | 742d338c8574 |
rev | line source |
---|---|
pankso@10837 | 1 # SliTaz package receipt. |
pankso@10837 | 2 |
pankso@10837 | 3 PACKAGE="libmatchbox" |
Hans-G?nter@23084 | 4 VERSION="1.12" |
pankso@10837 | 5 CATEGORY="x-window" |
pankso@10837 | 6 SHORT_DESC="Matchbox shared library." |
pankso@10837 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15080 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@23084 | 9 WEB_SITE="https://www.yoctoproject.org/software-item/matchbox/" |
Hans-G?nter@23084 | 10 |
pankso@10837 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@23084 | 12 WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/$PACKAGE/snapshot/$TARBALL" |
pankso@10837 | 13 |
pankso@10837 | 14 DEPENDS="pango" |
Hans-G?nter@23084 | 15 BUILD_DEPENDS="autoconf automake jpeg-dev libtool libxml2-dev pango-dev" |
pankso@10837 | 16 |
pascal@24447 | 17 # What is the latest version available today? |
pascal@24447 | 18 current_version() |
pascal@24447 | 19 { |
pascal@24447 | 20 wget -O - https://git.yoctoproject.org/libmatchbox/ 2>/dev/null | \ |
pascal@24447 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-||;s|.zip.*||" | sort -Vr | sed q |
pascal@24447 | 22 } |
pascal@24447 | 23 |
pankso@10837 | 24 # Rules to configure and make the package. |
pankso@10837 | 25 compile_rules() |
pankso@10837 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pankso@10837 | 28 #--enable-xsettings |
Hans-G?nter@23084 | 29 |
Hans-G?nter@23085 | 30 ./autogen.sh && |
Hans-G?nter@23084 | 31 ./configure \ |
Hans-G?nter@23084 | 32 --enable-pango \ |
Hans-G?nter@23084 | 33 --enable-jpeg \ |
pankso@10837 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@23084 | 35 make && |
Hans-G?nter@23084 | 36 make install |
pankso@10837 | 37 } |
pankso@10837 | 38 |
pankso@10837 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10837 | 40 genpkg_rules() |
pankso@10837 | 41 { |
pankso@10837 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@23084 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@10837 | 44 } |