wok-4.x annotate openbox/receipt @ rev 5004
[m-o]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 16:38:48 2010 +0100 (2010-02-28) |
parents | 6ec17b55b59a |
children | a3475fc79078 |
rev | line source |
---|---|
pankso@357 | 1 # SliTaz package receipt. |
pankso@357 | 2 |
pankso@357 | 3 PACKAGE="openbox" |
pankso@4631 | 4 VERSION="3.4.9" |
pankso@357 | 5 CATEGORY="x-window" |
pankso@357 | 6 SHORT_DESC="Small-footprint and standard compliant Window Manager." |
pankso@357 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5004 | 8 DEPENDS="startup-notification pango glib xorg-libX11 fontconfig freetype \ |
pascal@5004 | 9 xorg-libXrandr" |
pankso@2145 | 10 SUGGESTED="obconf pcmanfm hsetroot slitaz-configs" |
pankso@357 | 11 BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev" |
pankso@357 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@357 | 13 WEB_SITE="http://icculus.org/openbox/" |
pankso@4631 | 14 WGET_URL="http://offload2.icculus.org:9090/openbox/releases/$TARBALL" |
jozee@4970 | 15 TAGS="window-manager wm" |
pankso@357 | 16 |
pankso@357 | 17 # Rules to configure and make the package. |
pankso@357 | 18 compile_rules() |
pankso@357 | 19 { |
pankso@357 | 20 cd $src |
pankso@357 | 21 chmod +x install-sh |
pankso@357 | 22 ./configure \ |
pankso@357 | 23 --prefix=/usr \ |
pankso@357 | 24 --sysconfdir=/etc \ |
pankso@357 | 25 --infodir=/usr/share/info \ |
pankso@357 | 26 --mandir=/usr/share/man \ |
pascal@1566 | 27 $CONFIGURE_ARGS && |
pascal@1566 | 28 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile && |
pascal@1566 | 29 make && |
pankso@357 | 30 make DESTDIR=$PWD/_pkg install |
pankso@357 | 31 } |
pankso@357 | 32 |
pankso@357 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@357 | 34 genpkg_rules() |
pankso@357 | 35 { |
pankso@684 | 36 mkdir -p $fs/usr/lib/openbox $fs/usr/share |
pankso@357 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@357 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@357 | 39 cp -a $_pkg/usr/share/themes $fs/usr/share |
pankso@624 | 40 |
pankso@357 | 41 # We dont have GNOME or KDE |
pankso@357 | 42 rm $fs/usr/bin/openbox-gnome-session |
pankso@357 | 43 rm $fs/usr/bin/openbox-kde-session |
pankso@357 | 44 rm $fs/usr/bin/gnome-panel-control |
pankso@357 | 45 chmod 0755 $fs/usr/bin/openbox-session |
pankso@624 | 46 |
pankso@714 | 47 # Pipe menu. |
pankso@684 | 48 cp stuff/open-folder-menu.sh $fs/usr/lib/openbox |
pankso@624 | 49 |
pankso@696 | 50 # Locale |
pankso@696 | 51 for i in $LOCALE |
pankso@696 | 52 do |
pankso@696 | 53 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@696 | 54 cp $src/po/$i.gmo \ |
pankso@696 | 55 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo |
pankso@696 | 56 done |
pankso@624 | 57 |
pankso@410 | 58 # Set perms. |
pankso@357 | 59 chown -R root.root $fs |
pankso@357 | 60 } |