wok-current annotate libglade/receipt @ rev 24954
*/stuff/bootloader.S: add CHK_DOS_INT19
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 23 15:28:40 2022 +0000 (2022-04-23) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
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" |
pascal@24894 | 10 WEB_SITE="https://glade.gnome.org/" |
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 |