wok-next annotate libmatchbox/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
pascal@20064 1 # SliTaz package receipt v2.
pankso@10837 2
pankso@10837 3 PACKAGE="libmatchbox"
pascal@20064 4 VERSION="1.12"
pankso@10837 5 CATEGORY="x-window"
al@20513 6 SHORT_DESC="Matchbox shared library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15080 8 LICENSE="LGPL2.1"
al@21020 9 WEB_SITE="https://www.yoctoproject.org/software-item/matchbox/"
al@20513 10
pankso@10837 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20064 12 WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/libmatchbox/snapshot/$TARBALL"
pankso@10837 13
al@21078 14 BUILD_DEPENDS="automake libtool libx11-dev libxext-dev pango-dev \
al@21078 15 libpng-dev libjpeg-turbo-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pankso@10837 17
al@20513 18 compile_rules() {
al@20551 19 ./autogen.sh \
al@20551 20 --disable-static \
pankso@10837 21 --enable-pango \
pankso@10837 22 --enable-jpeg \
pankso@10837 23 $CONFIGURE_ARGS &&
al@20551 24 fix libtool &&
al@20551 25 make &&
al@20551 26 make install
pankso@10837 27 }
pankso@10837 28
al@20513 29 genpkg_rules() {
pascal@20064 30 case $PACKAGE in
al@20513 31 libmatchbox)
al@20513 32 copy @std
al@21078 33 DEPENDS="glib libjpeg-turbo libpng pango libx11 \
al@21078 34 libxext libxft"
al@20513 35 ;;
al@20513 36 *-dev)
al@20513 37 copy @dev
al@21078 38 DEPENDS="libmatchbox libjpeg-turbo-dev libpng-dev pango-dev \
al@21078 39 libx11-dev libxext-dev"
al@20513 40 ;;
pascal@20064 41 esac
al@20550 42 TAGS="matchbox"
pankso@10837 43 }