wok-next rev 20064
Up libmatchbox (1.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 24 11:36:27 2017 +0200 (2017-10-24) |
parents | a35937563ccc |
children | 96bee9cba9cc |
files | libmatchbox-dev/receipt libmatchbox/receipt |
line diff
1.1 --- a/libmatchbox-dev/receipt Tue Oct 24 09:36:15 2017 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,21 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="libmatchbox-dev" 1.7 -VERSION="1.9" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Matchbox library devel files." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -LICENSE="LGPL2.1" 1.12 -WEB_SITE="http://matchbox-project.org/" 1.13 -WANTED="libmatchbox" 1.14 - 1.15 -DEPENDS="pkg-config" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib 1.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 - cp -a $install/usr/include $fs/usr 1.24 -}
2.1 --- a/libmatchbox/receipt Tue Oct 24 09:36:15 2017 +0200 2.2 +++ b/libmatchbox/receipt Tue Oct 24 11:36:27 2017 +0200 2.3 @@ -1,23 +1,22 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="libmatchbox" 2.8 -VERSION="1.9" 2.9 +VERSION="1.12" 2.10 CATEGORY="x-window" 2.11 SHORT_DESC="Matchbox shared library." 2.12 MAINTAINER="pankso@slitaz.org" 2.13 LICENSE="LGPL2.1" 2.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.15 WEB_SITE="http://matchbox-project.org/" 2.16 -WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL" 2.17 +WGET_URL="http://git.yoctoproject.org/cgit/cgit.cgi/libmatchbox/snapshot/$TARBALL" 2.18 2.19 -DEPENDS="pango" 2.20 -BUILD_DEPENDS="pango-dev jpeg-dev libxml2-dev" 2.21 +BUILD_DEPENDS="pango-dev jpeg-dev libxml2-dev automake autoconf libtool" 2.22 +SPLIT="libmatchbox-dev" 2.23 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 { 2.27 - export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 2.28 - #--enable-xsettings 2.29 + ./autogen.sh 2.30 ./configure \ 2.31 --enable-pango \ 2.32 --enable-jpeg \ 2.33 @@ -28,6 +27,19 @@ 2.34 # Rules to gen a SliTaz package suitable for Tazpkg. 2.35 genpkg_rules() 2.36 { 2.37 - mkdir -p $fs/usr/lib 2.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.39 + case $PACKAGE in 2.40 + libmatchbox) 2.41 + DEPENDS="pango" 2.42 + mkdir -p $fs/usr/lib 2.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.44 + ;; 2.45 + libmatchbox-dev) 2.46 + CAT="development|Matchbox library devel files." 2.47 + DEPENDS="pkg-config" 2.48 + mkdir -p $fs/usr/lib 2.49 + cp -a $install/usr/lib/*.*a $fs/usr/lib 2.50 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.51 + cp -a $install/usr/include $fs/usr 2.52 + ;; 2.53 + esac 2.54 }