wok view libbonobo/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 86c657b651d4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libbonobo"
4 VERSION="2.32.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Librairies for GNOME"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://gitlab.gnome.org/Archive/libbonobo"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib ORBit2 libxml2 libglade"
14 BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile*
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc/gnome \
29 --libexecdir=/usr/lib/bonobo \
30 $CONFIGURE_ARGS &&
31 make -j 1 && make -j 1 install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/etc $fs/
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
43 cp -a $install/usr/lib/bonobo $fs/usr/lib
45 # Clean unwated files
46 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
47 }