wok annotate gnome-vfs-monikers/receipt @ rev 24981
Up pce (20220220-991c55d9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 10:57:53 2022 +0000 (2022-05-08) |
parents | 6e8b1bcb30e2 |
children |
rev | line source |
---|---|
pascal@11207 | 1 # SliTaz package receipt. |
pascal@11207 | 2 |
pascal@11207 | 3 PACKAGE="gnome-vfs-monikers" |
pascal@11207 | 4 VERSION="2.15.3" |
pascal@11207 | 5 CATEGORY="x-window" |
al@20422 | 6 SHORT_DESC="GNOME Bonobo monikers" |
pascal@11207 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11207 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.gnome.org" |
pascal@11207 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11207 | 12 |
pascal@15000 | 13 DEPENDS="gnome-vfs libbonobo" |
pascal@16647 | 14 BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev dbus-glib-dev" |
pascal@15000 | 15 |
pascal@24111 | 16 current_version() |
pascal@24111 | 17 { |
pascal@24111 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 20 } |
pascal@24111 | 21 |
pascal@11207 | 22 # Rules to configure and make the package. |
pascal@11207 | 23 compile_rules() |
pascal@11207 | 24 { |
pascal@11207 | 25 cd $src |
pascal@11207 | 26 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \ |
pascal@11207 | 27 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \ |
pascal@11207 | 28 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0" |
pascal@11207 | 29 ./configure \ |
pascal@11207 | 30 --prefix=/usr \ |
pascal@11207 | 31 --infodir=/usr/share/info \ |
pascal@11207 | 32 --mandir=/usr/share/man \ |
pascal@11207 | 33 $CONFIGURE_ARGS && |
pascal@11207 | 34 make && make DESTDIR=$DESTDIR install |
pascal@11207 | 35 } |
pascal@11207 | 36 |
pascal@11207 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 38 genpkg_rules() |
pascal@11207 | 39 { |
pascal@11207 | 40 mkdir -p $fs/usr/ |
pascal@15000 | 41 cp -a $install/usr/lib $fs/usr |
pascal@11207 | 42 |
pascal@11207 | 43 # Clean unwated files |
pascal@11207 | 44 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
pascal@11207 | 45 |
pascal@11207 | 46 # Strip all |
pascal@11207 | 47 find . -name "*.so" -exec strip -s {} \; |
pascal@11207 | 48 } |
pascal@11207 | 49 |