wok-6.x annotate openbox/receipt @ rev 2387

squid: Add auth support. Move squid stuff to /usr/share/squid
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Mar 09 23:58:18 2009 +0100 (2009-03-09)
parents 123997fe83c0
children 4482e0fab13a
rev   line source
pankso@357 1 # SliTaz package receipt.
pankso@357 2
pankso@357 3 PACKAGE="openbox"
pankso@684 4 VERSION="3.4.7.2"
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"
pankso@2145 8 DEPENDS="startup-notification pango glib xorg-libX11"
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@2145 13 WGET_URL="http://mirror.slitaz.org/sources/packages/o/$TARBALL"
pankso@357 14
pankso@357 15 # Rules to configure and make the package.
pankso@357 16 compile_rules()
pankso@357 17 {
pankso@357 18 cd $src
pankso@357 19 chmod +x install-sh
pankso@357 20 ./configure \
pankso@357 21 --prefix=/usr \
pankso@357 22 --sysconfdir=/etc \
pankso@357 23 --infodir=/usr/share/info \
pankso@357 24 --mandir=/usr/share/man \
pascal@1566 25 $CONFIGURE_ARGS &&
pascal@1566 26 sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
pascal@1566 27 make &&
pankso@357 28 make DESTDIR=$PWD/_pkg install
pankso@357 29 }
pankso@357 30
pankso@357 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@357 32 genpkg_rules()
pankso@357 33 {
pankso@684 34 mkdir -p $fs/usr/lib/openbox $fs/usr/share
pankso@357 35 cp -a $_pkg/usr/bin $fs/usr
pankso@357 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@357 37 cp -a $_pkg/usr/share/themes $fs/usr/share
pankso@624 38
pankso@357 39 # We dont have GNOME or KDE
pankso@357 40 rm $fs/usr/bin/openbox-gnome-session
pankso@357 41 rm $fs/usr/bin/openbox-kde-session
pankso@357 42 rm $fs/usr/bin/gnome-panel-control
pankso@357 43 chmod 0755 $fs/usr/bin/openbox-session
pankso@624 44
pankso@714 45 # Pipe menu.
pankso@684 46 cp stuff/open-folder-menu.sh $fs/usr/lib/openbox
pankso@624 47
pankso@696 48 # Locale
pankso@696 49 for i in $LOCALE
pankso@696 50 do
pankso@696 51 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
pankso@696 52 cp $src/po/$i.gmo \
pankso@696 53 $fs/usr/share/locale/$i/LC_MESSAGES/openbox.mo
pankso@696 54 done
pankso@624 55
pankso@410 56 # Set perms.
pankso@357 57 chown -R root.root $fs
pankso@357 58 }