wok annotate libbonoboui/receipt @ rev 24769

lapack: CMAKE_INSTALL_LIBDIR=/usr/lib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 14:14:13 2022 +0000 (2022-03-19)
parents 01a2ec0efad2
children a6b997a82f39
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libbonoboui"
Hans-G?nter@21139 4 VERSION="2.24.5"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="The libbonoboui package contains libbonoboui libraries."
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@21139 9 WEB_SITE="https://developer.gnome.org/libbonobo/"
Hans-G?nter@21139 10
pascal@11205 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21139 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11205 13
Hans-G?nter@21139 14 DEPENDS="alsa-lib GConf glib gtk+ libbonobo libglade libgnome \
Hans-G?nter@21139 15 libgnomecanvas popt"
Hans-G?nter@21139 16 BUILD_DEPENDS="alsa-lib-dev audiofile dbus-glib-dev esound \
Hans-G?nter@21139 17 GConf-dev glib-dev gtk+-dev intltool libbonobo-dev \
Hans-G?nter@21139 18 libffi libglade-dev libgnome-dev libgnomecanvas-dev \
Hans-G?nter@21139 19 popt-dev util-linux-uuid-dev"
pascal@11205 20
pascal@24111 21 current_version()
pascal@24111 22 {
pascal@24111 23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 25 }
pascal@24111 26
pascal@11205 27 # Rules to configure and make the package.
pascal@11205 28 compile_rules()
pascal@11205 29 {
Hans-G?nter@21139 30 ./configure \
Hans-G?nter@21139 31 --sysconfdir=/etc/gnome \
Hans-G?nter@21139 32 --libexecdir=/usr/lib/bonobo \
Hans-G?nter@21139 33 $CONFIGURE_ARGS &&
Hans-G?nter@21139 34 make -j 1 &&
Hans-G?nter@21139 35 make install
pascal@11205 36 }
pascal@11205 37
pascal@11205 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 39 genpkg_rules()
pascal@11205 40 {
pascal@11205 41 mkdir -p $fs/usr/lib
pascal@11205 42 mkdir -p $fs/usr/share
Hans-G?nter@21139 43
Hans-G?nter@21139 44 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21139 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21139 46 cp -a $install/usr/lib/bonobo* $fs/usr/lib
Hans-G?nter@21139 47 cp -a $install/usr/lib/libglade $fs/usr/lib
Hans-G?nter@21139 48 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@21139 49 cp -a $install/usr/share/gnome-2.0 $fs/usr/share
pascal@11205 50
pascal@11205 51 # remove archive lib
pascal@11205 52 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
pascal@11205 53 }