wok rev 9856

obconf: fix BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:29:31 2011 +0200 (2011-05-16)
parents 537c950566ea
children 6c5c55855491
files obconf/receipt
line diff
     1.1 --- a/obconf/receipt	Mon May 16 12:31:57 2011 +0200
     1.2 +++ b/obconf/receipt	Mon May 16 15:29:31 2011 +0200
     1.3 @@ -5,23 +5,23 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="Openbox WM configuration interface."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage"
     1.8 -BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://icculus.org/openbox/"
    1.11  WGET_URL="http://icculus.org/openbox/obconf/$TARBALL"
    1.12  TAGS="openbox"
    1.13  
    1.14 +DEPENDS="openbox gtk+ libglade shared-mime-info xorg-libXdamage \
    1.15 +libstartup-notification"
    1.16 +BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev openbox-dev \
    1.17 +libstartup-notification-dev"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22  	cd $src
    1.23 -	./configure \
    1.24 -		--prefix=/usr \
    1.25 -		$CONFIGURE_ARGS &&
    1.26 +	./configure &&
    1.27  	sed -i 's/^mkdir_p = .*/mkdir_p = mkdir -p/' po/Makefile &&
    1.28 -	make &&
    1.29 -	make DESTDIR=$PWD/_pkg install
    1.30 +	make && make install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 @@ -34,13 +34,6 @@
    1.35  	touch $fs/usr/share/mime/x-openbox-theme.xml
    1.36  	touch $fs/usr/share/mime/x-vbscript.xml
    1.37  	touch $fs/usr/share/mime/x-ms-win-installer.xml
    1.38 -	# Locale
    1.39 -	for i in $LOCALE
    1.40 -	do
    1.41 -		mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
    1.42 -		cp $src/po/$i.gmo \
    1.43 -			$fs/usr/share/locale/$i/LC_MESSAGES/obconf.mo
    1.44 -	done
    1.45  }
    1.46  
    1.47  # Update mime database.