wok-current annotate libexo/receipt @ rev 4783
some typos in CATEGORY (thanks iegubkin)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Jan 15 14:27:00 2010 +0000 (2010-01-15) |
parents | 6dc1f847927c |
children | 9d920e7e106c |
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" |
pankso@4199 | 8 DEPENDS="libxfce4util perl-uri-url perl-uri-escape perl-uri-file \ |
erjo@4126 | 9 startup-notification hal" |
pankso@4199 | 10 BUILD_DEPENDS="libxfce4util-dev perl-uri-url perl-uri-escape perl-uri-file \ |
pankso@4199 | 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@4126 | 15 WGET_URL="http://www.tx-us.xfce.org/archive/xfce-4.6.1/src/$TARBALL |
erjo@4126 | 16 http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL" |
erjo@2076 | 17 |
erjo@2076 | 18 # Rules to configure and make the package. |
erjo@2076 | 19 compile_rules() |
pankso@4199 | 20 { |
erjo@4126 | 21 patch _p0 -i stuff/helpers.rc.u |
pankso@4199 | 22 |
erjo@2076 | 23 cd $src |
pankso@4199 | 24 ./configure \ |
pankso@4199 | 25 --prefix=/usr \ |
erjo@2076 | 26 --sysconfdir=/etc \ |
pankso@4199 | 27 --libexecdir=/usr/lib/libexo \ |
erjo@2076 | 28 --enable-notifications \ |
erjo@2076 | 29 --enable-hal \ |
erjo@4126 | 30 --disable-debug \ |
pankso@4199 | 31 --mandir=/usr/share/man \ |
pankso@4199 | 32 $CONFIGURE_ARGS && \ |
erjo@2076 | 33 make && make DESTDIR=$PWD/_pkg install |
erjo@2076 | 34 } |
erjo@2076 | 35 |
erjo@2076 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 37 genpkg_rules() |
erjo@2076 | 38 { |
erjo@4126 | 39 mkdir -p $fs/usr/lib \ |
erjo@2076 | 40 $fs/usr/share/locale \ |
erjo@4126 | 41 $fs/usr/share/xfce4 \ |
erjo@4126 | 42 $fs/etc/xdg/xfce4 |
pankso@4199 | 43 |
erjo@4126 | 44 cp -a $_pkg/etc $fs/ |
erjo@2076 | 45 cp -a $_pkg/usr/bin $fs/usr |
erjo@2076 | 46 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4199 | 47 cp -a $_pkg/usr/lib/libexo $fs/usr/lib |
erjo@2076 | 48 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 49 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2076 | 50 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 51 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@2076 | 52 cp -a $_pkg/usr/share/xfce4/helpers $fs/usr/share/xfce4 |
erjo@2076 | 53 |
erjo@4126 | 54 # Fix perms & helpers |
erjo@2076 | 55 chmod +x $fs/usr/bin/exo-preferred-applications |
erjo@2076 | 56 } |