wok annotate libexo/receipt @ rev 4126

Up: libexo* (0.3.101)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:12:35 2009 +0000 (2009-09-20)
parents 2e55de4816a6
children 7d585b540621
rev   line source
erjo@2076 1 # SliTaz package receipt.
erjo@2076 2
erjo@2076 3 PACKAGE="libexo"
erjo@4126 4 VERSION="0.3.101"
erjo@2076 5 CATEGORY="x-window"
erjo@2076 6 SHORT_DESC="Xfce extension library"
erjo@2076 7 MAINTAINER="erjo@slitaz.org"
erjo@4126 8 DEPENDS="libxfce4util perl-uri-url perl-uri-escape perl-uri-file
erjo@4126 9 startup-notification hal"
erjo@4126 10 BUILD_DEPENDS="libxfce4util-dev perl-uri-url perl-uri-escape perl-uri-file startup-notification-dev hal-dev"
erjo@2076 11 SOURCE="exo"
erjo@2076 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
erjo@2076 13 WEB_SITE="http://www.xfce.org"
erjo@4126 14 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL
erjo@4126 15 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL"
erjo@2076 16
erjo@2076 17 # Rules to configure and make the package.
erjo@2076 18 compile_rules()
erjo@2076 19 {
erjo@4126 20 patch _p0 -i stuff/helpers.rc.u
erjo@4126 21
erjo@2076 22 cd $src
erjo@2076 23 ./configure --prefix=/usr \
erjo@2076 24 --sysconfdir=/etc \
erjo@2076 25 --enable-notifications \
erjo@2076 26 --enable-hal \
erjo@4126 27 --disable-debug \
erjo@2076 28 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2076 29 make && make DESTDIR=$PWD/_pkg install
erjo@2076 30 }
erjo@2076 31
erjo@2076 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2076 33 genpkg_rules()
erjo@2076 34 {
erjo@4126 35 mkdir -p $fs/usr/lib \
erjo@2076 36 $fs/usr/share/locale \
erjo@4126 37 $fs/usr/share/xfce4 \
erjo@4126 38 $fs/etc/xdg/xfce4
erjo@2076 39
erjo@4126 40 cp -a $_pkg/etc $fs/
erjo@2076 41 cp -a $_pkg/usr/bin $fs/usr
erjo@2076 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@2076 43 cp -a $_pkg/usr/libexec $fs/usr
erjo@2076 44 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2076 45 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2076 46 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2076 47 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@2076 48 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4
erjo@2076 49
erjo@4126 50 # Fix perms & helpers
erjo@2076 51 chmod +x $fs/usr/bin/exo-preferred-applications
erjo@4126 52
erjo@4126 53
erjo@2076 54 }
erjo@2076 55