wok-next view libmatchbox/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | d3eb5f4b53ea |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmatchbox"
4 VERSION="1.12"
5 CATEGORY="x-window"
6 SHORT_DESC="Matchbox shared library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://matchbox-project.org/"
11 WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/libmatchbox/snapshot/$TARBALL"
13 BUILD_DEPENDS="pango-dev jpeg-dev libxml2-dev automake autoconf libtool"
14 SPLIT="libmatchbox-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./autogen.sh
20 ./configure \
21 --enable-pango \
22 --enable-jpeg \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 libmatchbox)
32 DEPENDS="pango"
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 ;;
36 libmatchbox-dev)
37 CAT="development|Matchbox library devel files."
38 DEPENDS="pkg-config"
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.*a $fs/usr/lib
41 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
42 cp -a $install/usr/include $fs/usr
43 ;;
44 esac
45 }