wok-current view cairomm/receipt @ rev 25540
Update some web_site/wget_url with https
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 09 18:12:54 2023 +0000 (21 months ago) |
parents | 68cf96abc146 |
children | 3ad63c8fc2f9 |
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 }