# SliTaz package receipt. PACKAGE="cairomm" VERSION="1.12.2" CATEGORY="x-window" SHORT_DESC="2D graphics library (mm)." MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.cairographics.org/" WGET_URL="https://www.cairographics.org/releases/$TARBALL" DEPENDS="pixman cairo libsigc++ xcb-util" BUILD_DEPENDS="pixman-dev cairo-dev libsigc++-dev xcb-util-dev libxml2-dev" current_version() { wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \ sed '/cairomm-/!d;s|.*cairomm-||;s|.tar.*||' | sed '$!d' } # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }