wok annotate libexo/receipt @ rev 2636
Up: slitaz-base-files (change release string) + slitaz-doc for 2.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 16 19:59:30 2009 +0200 (2009-04-16) |
parents | 8186ed70b4e8 |
children | 6dc1f847927c |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libexo" |
erjo@2076 | 4 VERSION="0.3.4" |
erjo@2076 | 5 CATEGORY="x-window" |
erjo@2076 | 6 SHORT_DESC="Xfce extension library" |
erjo@2076 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@2076 | 8 DEPENDS="libxfce4util xfce-mcs-manager perl-uri-url perl-uri-escape perl-uri-file |
pascal@2518 | 9 startup-notification hal xorg-libXdamage" |
erjo@2076 | 10 BUILD_DEPENDS="libxfce4util-dev perl-uri-url perl-uri-escape perl-uri-file xfce-mcs-manager-dev |
erjo@2076 | 11 startup-notification-dev hal-dev" |
erjo@2076 | 12 SOURCE="exo" |
erjo@2076 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@2076 | 14 WEB_SITE="http://www.xfce.org" |
erjo@2076 | 15 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2076 | 16 |
erjo@2076 | 17 # Rules to configure and make the package. |
erjo@2076 | 18 compile_rules() |
erjo@2076 | 19 { |
erjo@2076 | 20 cd $src |
erjo@2076 | 21 ./configure --prefix=/usr \ |
erjo@2076 | 22 --sysconfdir=/etc \ |
erjo@2076 | 23 --enable-mcs-plugin \ |
erjo@2076 | 24 --enable-notifications \ |
erjo@2076 | 25 --enable-hal \ |
erjo@2076 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2076 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@2076 | 28 } |
erjo@2076 | 29 |
erjo@2076 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 31 genpkg_rules() |
erjo@2076 | 32 { |
erjo@2076 | 33 mkdir -p $fs/usr \ |
erjo@2076 | 34 $fs/usr/lib/xfce4/mcs-plugins \ |
erjo@2076 | 35 $fs/usr/share/locale \ |
erjo@2076 | 36 $fs/usr/share/xfce4 |
erjo@2076 | 37 |
erjo@2076 | 38 cp -a $_pkg/usr/bin $fs/usr |
erjo@2076 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@2076 | 40 cp -a $_pkg/usr/lib/xfce4/mcs-plugins/*.so* $fs/usr/lib/xfce4/mcs-plugins |
erjo@2076 | 41 cp -a $_pkg/usr/libexec $fs/usr |
erjo@2076 | 42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 43 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2076 | 44 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 45 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@2076 | 46 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4 |
erjo@2076 | 47 |
erjo@2076 | 48 # Fix perms |
erjo@2076 | 49 chmod +x $fs/usr/bin/exo-preferred-applications |
erjo@2076 | 50 } |
erjo@2076 | 51 |