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