wok annotate libbonobo/receipt @ rev 24113
gst-libav, gst-plugins-base-1.0: series = 1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 29 12:51:33 2021 +0000 (2021-09-29) |
parents | b77195a00671 |
children | a6b997a82f39 |
rev | line source |
---|---|
slaxemulator@6738 | 1 # SliTaz package receipt. |
slaxemulator@6738 | 2 |
slaxemulator@6738 | 3 PACKAGE="libbonobo" |
devl547@13525 | 4 VERSION="2.32.1" |
slaxemulator@6738 | 5 CATEGORY="x-window" |
slaxemulator@6738 | 6 SHORT_DESC="Librairies for GNOME" |
slaxemulator@6738 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
slaxemulator@6738 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20674 | 10 WEB_SITE="https://developer.gnome.org/libbonobo/" |
pascal@24112 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@6738 | 12 |
pascal@14714 | 13 DEPENDS="glib ORBit2 libxml2 libglade" |
pascal@14714 | 14 BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config" |
pascal@14714 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
slaxemulator@6738 | 22 # Rules to configure and make the package. |
slaxemulator@6738 | 23 compile_rules() |
slaxemulator@6738 | 24 { |
pascal@17627 | 25 sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile* |
slaxemulator@6738 | 26 ./configure \ |
slaxemulator@6738 | 27 --prefix=/usr \ |
slaxemulator@6738 | 28 --sysconfdir=/etc/gnome \ |
slaxemulator@6738 | 29 --libexecdir=/usr/lib/bonobo \ |
slaxemulator@6738 | 30 $CONFIGURE_ARGS && |
pascal@24113 | 31 make -j 1 && make -j 1 install |
slaxemulator@6738 | 32 } |
slaxemulator@6738 | 33 |
slaxemulator@6738 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6738 | 35 genpkg_rules() |
slaxemulator@6738 | 36 { |
pankso@10723 | 37 mkdir -p $fs/usr/lib |
slaxemulator@13528 | 38 cp -a $install/etc $fs/ |
slaxemulator@13528 | 39 cp -a $install/usr/bin $fs/usr |
slaxemulator@13528 | 40 cp -a $install/usr/sbin $fs/usr |
slaxemulator@13528 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@13528 | 42 cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib |
slaxemulator@13528 | 43 cp -a $install/usr/lib/bonobo $fs/usr/lib |
slaxemulator@6738 | 44 |
slaxemulator@6738 | 45 # Clean unwated files |
slaxemulator@6738 | 46 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
slaxemulator@6738 | 47 } |