wok-6.x annotate cairomm/receipt @ rev 24110

rdesktop: add debian patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 10:48:56 2021 +0000 (2021-09-28)
parents a78610b2eb47
children 73f36875e5a7
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/"
pankso@833 11 WGET_URL="http://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 }