wok-current view gnome-vfs-monikers/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 6e8b1bcb30e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-vfs-monikers"
4 VERSION="2.15.3"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Bonobo monikers"
7 MAINTAINER="erjo@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"
13 DEPENDS="gnome-vfs libbonobo"
14 BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev dbus-glib-dev"
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 cd $src
26 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \
27 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \
28 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0"
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/
41 cp -a $install/usr/lib $fs/usr
43 # Clean unwated files
44 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
46 # Strip all
47 find . -name "*.so" -exec strip -s {} \;
48 }