wok view libmatchbox/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents ede1d184d5c5
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="libmatchbox"
4 VERSION="1.12"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox shared library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.yoctoproject.org/software-item/matchbox/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/$PACKAGE/snapshot/$TARBALL"
14 DEPENDS="pango"
15 BUILD_DEPENDS="autoconf automake jpeg-dev libtool libxml2-dev pango-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://git.yoctoproject.org/libmatchbox/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-||;s|.zip.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
28 #--enable-xsettings
30 ./autogen.sh &&
31 ./configure \
32 --enable-pango \
33 --enable-jpeg \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }