wok-current annotate libglade/receipt @ rev 24238
updated perl-mime-base64 (3.15 -> 3.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:16:25 2022 +0100 (2022-01-02) |
parents | 62b66edb40b5 |
children | 870e1ce31226 |
rev | line source |
---|---|
pankso@36 | 1 # SliTaz package receipt. |
pankso@36 | 2 |
pankso@36 | 3 PACKAGE="libglade" |
slaxemulator@6169 | 4 VERSION="2.6.4" |
pankso@211 | 5 CATEGORY="x-window" |
pankso@36 | 6 SHORT_DESC="The Glade libs." |
pankso@36 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@7103 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@36 | 10 WEB_SITE="http://www.jamesh.id.au/software/libglade/" |
slaxemulator@7103 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16269 | 12 HOST_ARCH="i486 arm" |
pankso@36 | 13 |
pascal@14714 | 14 DEPENDS="gtk+ xorg-libXdamage" |
pascal@14714 | 15 BUILD_DEPENDS="gtk+ gtk+-dev pkg-config libxml2-dev expat-dev" |
pascal@14714 | 16 |
pascal@24072 | 17 current_version() |
pascal@24072 | 18 { |
pascal@24072 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
pankso@36 | 23 # Rules to configure and make the package. |
pankso@36 | 24 compile_rules() |
pankso@36 | 25 { |
pankso@36 | 26 cd $src |
erjo@11502 | 27 sed -i '/DG_DISABLE_DEPRECATED/d' glade/Makefile.in || exit 1 |
pascal@14715 | 28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v POTFILES.in && |
pascal@1481 | 29 make && |
slaxemulator@9488 | 30 make DESTDIR=$DESTDIR install |
slaxemulator@9488 | 31 mkdir -p $DESTDIR/usr/bin |
slaxemulator@9488 | 32 [ -f libglade-convert ] && cp -a libglade-convert $DESTDIR/usr/bin |
pankso@36 | 33 } |
pankso@36 | 34 |
pankso@36 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@36 | 36 genpkg_rules() |
pankso@36 | 37 { |
pankso@36 | 38 mkdir -p $fs/usr/lib |
pascal@14714 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@36 | 40 |
pascal@14714 | 41 cp -a $install/usr/bin $fs/usr |
pankso@36 | 42 chmod +x $fs/usr/bin/* |
pankso@36 | 43 } |
pankso@36 | 44 |