wok-6.x annotate libexo/receipt @ rev 5005
p*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 17:01:48 2010 +0100 (2010-02-28) |
parents | 9d920e7e106c |
children | a27053729c70 |
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" |
pascal@5003 | 8 DEPENDS="libxfce4util perl-uri startup-notification hal libnotify" |
erjo@4871 | 9 BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev hal-dev" |
erjo@2076 | 10 SOURCE="exo" |
erjo@2076 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
erjo@2076 | 12 WEB_SITE="http://www.xfce.org" |
erjo@4126 | 13 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL |
erjo@4126 | 14 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL" |
erjo@2076 | 15 |
erjo@2076 | 16 # Rules to configure and make the package. |
erjo@2076 | 17 compile_rules() |
pankso@4199 | 18 { |
erjo@4871 | 19 patch -p0 -i stuff/helpers.rc.u |
pankso@4199 | 20 |
erjo@2076 | 21 cd $src |
pankso@4199 | 22 ./configure \ |
pankso@4199 | 23 --prefix=/usr \ |
erjo@2076 | 24 --sysconfdir=/etc \ |
pankso@4199 | 25 --libexecdir=/usr/lib/libexo \ |
erjo@2076 | 26 --enable-notifications \ |
erjo@2076 | 27 --enable-hal \ |
erjo@4126 | 28 --disable-debug \ |
pankso@4199 | 29 --mandir=/usr/share/man \ |
pankso@4199 | 30 $CONFIGURE_ARGS && \ |
erjo@2076 | 31 make && make DESTDIR=$PWD/_pkg install |
erjo@2076 | 32 } |
erjo@2076 | 33 |
erjo@2076 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 35 genpkg_rules() |
erjo@2076 | 36 { |
erjo@4126 | 37 mkdir -p $fs/usr/lib \ |
erjo@2076 | 38 $fs/usr/share/locale \ |
erjo@4126 | 39 $fs/usr/share/xfce4 \ |
erjo@4126 | 40 $fs/etc/xdg/xfce4 |
pankso@4199 | 41 |
erjo@4126 | 42 cp -a $_pkg/etc $fs/ |
erjo@2076 | 43 cp -a $_pkg/usr/bin $fs/usr |
erjo@2076 | 44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4199 | 45 cp -a $_pkg/usr/lib/libexo $fs/usr/lib |
erjo@2076 | 46 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 47 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2076 | 48 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 49 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@2076 | 50 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4 |
erjo@2076 | 51 |
erjo@4126 | 52 # Fix perms & helpers |
erjo@2076 | 53 chmod +x $fs/usr/bin/exo-preferred-applications |
erjo@4871 | 54 |
erjo@4871 | 55 # Strip files |
erjo@4871 | 56 strip -s $fs/usr/lib/libexo/* 2> /dev/null |
erjo@2076 | 57 } |