wok view libgnome/receipt @ rev 25527

created recipes for libmpack and libmpack-dev 1.0.5
author Hans-G?nter Theisgen
date Sat Feb 25 07:28:19 2023 +0100 (21 months ago)
parents 6e8b1bcb30e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnome"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 GENERIC_PIXMAPS="no"
14 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \
15 openssl"
16 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
17 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
29 ./configure \
30 --sysconfdir=/etc/gnome \
31 --localstatedir=/var/lib \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/bonobo $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 # Background
46 cp -a $install/usr/share/gnome-background-* $fs/usr/share
47 cp -a $install/usr/share/pixmaps $fs/usr/share
48 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
49 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
50 gnome-default.jpg
52 # Clean unwated files
53 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
54 }