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