wok diff libfm/receipt @ rev 12077

fix /usr/bin/git-citool in correct link /usr/lib/git-core/git-citool
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 09 10:16:47 2012 +0100 (2012-03-09)
parents cbf8c28eb1b6
children 0a6b5118575a
line diff
     1.1 --- a/libfm/receipt	Wed Feb 29 14:48:46 2012 +0100
     1.2 +++ b/libfm/receipt	Fri Mar 09 10:16:47 2012 +0100
     1.3 @@ -5,39 +5,40 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="File manager library from LXDE."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 +WEB_SITE="http://pcmanfm.sourceforge.net"
     1.9 +WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
    1.10 +
    1.11  DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
    1.12  zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
    1.13  BUILD_DEPENDS="$DEPENDS gtk+-dev gamin-dev shared-mime-info intltool \
    1.14  hal-dev dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev \
    1.15  xcb-util-dev menu-cache-dev expat-dev"
    1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://pcmanfm.sourceforge.net"
    1.18 -WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
    1.25 -'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|'
    1.26 -	chmod +x install-sh
    1.27 +	#grep -rl gio/gdesktopappinfo.h . | xargs sed -i \
    1.28 +		#'s|.*gio/gdesktopappinfo.h.*|#ifdef G_DISABLE_DEPRECATED\n#undef G_DISABLE_DEPRECATED\n&\n#define G_DISABLE_DEPRECATED\n#else\n&\n#endif|'
    1.29 +	#chmod +x install-sh
    1.30  	./configure \
    1.31 -		--prefix=/usr \
    1.32 -		--mandir=/usr/share/man \
    1.33  		--sysconfdir=/etc \
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make &&
    1.36 -	make DESTDIR=$PWD/_pkg install
    1.37 +	make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/lib/gio/modules
    1.44 -	cp -a $_pkg/etc $fs
    1.45 -	cp -a $_pkg/usr/bin $fs/usr
    1.46 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.47 -	cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules
    1.48 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.49 +	cp -a $install/etc $fs
    1.50 +	cp -a $install/usr/bin $fs/usr
    1.51 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.52 +	cp -a $install/usr/share/libfm $fs/usr/share
    1.53 +	cp -a $install/usr/share/mime $fs/usr/share
    1.54 +	cp -a $install/usr/share/applications $fs/usr/share
    1.55 +	#cp -a $install/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules
    1.56  }
    1.57  
    1.58  post_install()