wok view cairomm/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | a78610b2eb47 |
children | 73f36875e5a7 |
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="http://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 }