wok annotate gnome-vfs-monikers/receipt @ rev 23696
Up libtcplay (3.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 27 09:29:39 2020 +0000 (2020-04-27) |
parents | c86e41198e76 |
children | 6831608a1b2a |
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@11207 | 16 # Rules to configure and make the package. |
pascal@11207 | 17 compile_rules() |
pascal@11207 | 18 { |
pascal@11207 | 19 cd $src |
pascal@11207 | 20 export CFLAGS="-I/usr/include/libbonobo-2.0 -I/usr/include/glib-2.0 \ |
pascal@11207 | 21 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 \ |
pascal@11207 | 22 -I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-2.0" |
pascal@11207 | 23 ./configure \ |
pascal@11207 | 24 --prefix=/usr \ |
pascal@11207 | 25 --infodir=/usr/share/info \ |
pascal@11207 | 26 --mandir=/usr/share/man \ |
pascal@11207 | 27 $CONFIGURE_ARGS && |
pascal@11207 | 28 make && make DESTDIR=$DESTDIR install |
pascal@11207 | 29 } |
pascal@11207 | 30 |
pascal@11207 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11207 | 32 genpkg_rules() |
pascal@11207 | 33 { |
pascal@11207 | 34 mkdir -p $fs/usr/ |
pascal@15000 | 35 cp -a $install/usr/lib $fs/usr |
pascal@11207 | 36 |
pascal@11207 | 37 # Clean unwated files |
pascal@11207 | 38 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
pascal@11207 | 39 |
pascal@11207 | 40 # Strip all |
pascal@11207 | 41 find . -name "*.so" -exec strip -s {} \; |
pascal@11207 | 42 } |
pascal@11207 | 43 |