wok view cairomm/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 68cf96abc146
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cairomm"
4 VERSION="1.11.2"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library (mm)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.cairographics.org/"
11 WGET_URL="https://www.cairographics.org/releases/$TARBALL"
13 DEPENDS="pixman cairo libsigc++ xcb-util"
14 BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev"
16 current_version()
17 {
18 wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \
19 sed '/cairomm-/!d;s|.*cairomm-||;s|.tar.*||' | sed '$!d'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }