wok-current annotate 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 |
rev | line source |
---|---|
pankso@833 | 1 # SliTaz package receipt. |
pankso@833 | 2 |
pankso@833 | 3 PACKAGE="cairomm" |
devl547@17568 | 4 VERSION="1.11.2" |
pankso@833 | 5 CATEGORY="x-window" |
pankso@833 | 6 SHORT_DESC="2D graphics library (mm)." |
pankso@833 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@833 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://www.cairographics.org/" |
pascal@25540 | 11 WGET_URL="https://www.cairographics.org/releases/$TARBALL" |
pankso@833 | 12 |
pankso@9779 | 13 DEPENDS="pixman cairo libsigc++ xcb-util" |
pascal@15220 | 14 BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev" |
pankso@9779 | 15 |
pascal@24066 | 16 current_version() |
pascal@24066 | 17 { |
pascal@24066 | 18 wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \ |
pascal@24066 | 19 sed '/cairomm-/!d;s|.*cairomm-||;s|.tar.*||' | sed '$!d' |
pascal@24066 | 20 } |
pascal@24066 | 21 |
pankso@833 | 22 # Rules to configure and make the package. |
pankso@833 | 23 compile_rules() |
pankso@833 | 24 { |
slaxemulator@12598 | 25 cd $src |
slaxemulator@12598 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@12598 | 27 make && make install |
pankso@833 | 28 } |
pankso@833 | 29 |
pankso@833 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@833 | 31 genpkg_rules() |
pankso@833 | 32 { |
pankso@833 | 33 mkdir -p $fs/usr/lib |
slaxemulator@12598 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@833 | 35 } |