wok-next diff libglade/receipt @ rev 19683
Up cairomm, libglade
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Apr 10 04:17:40 2017 +0300 (2017-04-10) |
parents | 62b66edb40b5 |
children | e70c0b9c5adf |
line diff
1.1 --- a/libglade/receipt Sat Apr 05 21:37:01 2014 +0200 1.2 +++ b/libglade/receipt Mon Apr 10 04:17:40 2017 +0300 1.3 @@ -6,33 +6,31 @@ 1.4 SHORT_DESC="The Glade libs." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 LICENSE="LGPL2" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.8 -WEB_SITE="http://www.jamesh.id.au/software/libglade/" 1.9 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.10 +WEB_SITE="https://developer.gnome.org/libglade/" 1.11 HOST_ARCH="i486 arm" 1.12 1.13 -DEPENDS="gtk+ xorg-libXdamage" 1.14 -BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev" 1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.17 + 1.18 +DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libgio libxml2 \ 1.19 +pango" 1.20 +BUILD_DEPENDS="gtk+-dev" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1 1.27 - ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in && 1.28 + mkdir po; touch po/POTFILES.in 1.29 + 1.30 + ./configure \ 1.31 + --disable-static \ 1.32 + $CONFIGURE_ARGS && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 - mkdir -p $DESTDIR/usr/bin 1.36 - [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin 1.37 + make install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr/lib 1.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 - 1.46 - cp -a $install/usr/bin $fs/usr 1.47 - chmod +x $fs/usr/bin/* 1.48 + cook_copy_files *.so* libglade-convert 1.49 } 1.50 -