wok annotate thunar-archive-plugin/receipt @ rev 4215
fcgi: build fix build with gcc 4.x
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Sep 24 10:06:40 2009 +0000 (2009-09-24) |
parents | 1e286e57a52f |
children | 42523bca6bfa |
rev | line source |
---|---|
erjo@2072 | 1 # SliTaz package receipt. |
erjo@2072 | 2 |
erjo@2072 | 3 PACKAGE="thunar-archive-plugin" |
erjo@2072 | 4 VERSION="0.2.4" |
erjo@2072 | 5 CATEGORY="x-window" |
erjo@2072 | 6 SHORT_DESC="Thunar Archive Manager plugin" |
erjo@2072 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4157 | 8 DEPENDS="thunar xarchiver" |
erjo@4146 | 9 BUILD_DEPENDS="thunar-dev" |
erjo@2072 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2072 | 11 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html" |
erjo@2072 | 12 WGET_URL="http://download.berlios.de/xfce-goodies/$TARBALL" |
erjo@2072 | 13 |
erjo@2072 | 14 # Rules to configure and make the package. |
erjo@2072 | 15 compile_rules() |
erjo@2072 | 16 { |
erjo@2072 | 17 cd $src |
erjo@2072 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@2072 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2072 | 20 make && make DESTDIR=$PWD/_pkg install |
erjo@2072 | 21 } |
erjo@2072 | 22 |
erjo@2072 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2072 | 24 genpkg_rules() |
erjo@2072 | 25 { |
erjo@2072 | 26 mkdir -p $fs/usr/share/locale \ |
erjo@2072 | 27 $fs/usr/lib/thunarx-1 |
erjo@2072 | 28 |
erjo@2072 | 29 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1 |
erjo@2072 | 30 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2072 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4157 | 32 cp -a $_pkg/usr/libexec $fs/usr |
erjo@4157 | 33 |
erjo@4157 | 34 # Fix perms |
erjo@4157 | 35 chmod 755 $fs/usr/libexec/thunar-archive-plugin/* |
erjo@2072 | 36 |
erjo@2072 | 37 # Cleanup |
erjo@2072 | 38 rm -f $fs/usr/lib/thunarx-1/*.*a |
erjo@2072 | 39 } |
erjo@2072 | 40 |