wok-4.x view thunar-archive-plugin/receipt @ rev 8143
aufs: aufs_type.h file will be install in aufs instead of linux-module-headers. It needed to be in /usr/include/linux folder anyways.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 25 00:03:50 2011 +0000 (2011-01-25) |
parents | 0874004b631d |
children | 5ddb80e703d5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="thunar-archive-plugin"
4 VERSION="0.2.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Thunar Archive Manager plugin"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="thunar"
9 BUILD_DEPENDS="thunar-dev intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://foo-projects.org/~benny/projects/thunar-archive-plugin/index.html"
12 WGET_URL="http://download.berlios.de/xfce-goodies/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # thunar 1.2 hack
19 sed -i "s/thunarx\-1/thunarx\-2/g" configure
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --libexecdir=/usr/lib \
22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale \
30 $fs/usr/lib/thunarx-1
32 cp -a $_pkg/usr/lib/thunarx-1/*.so* $fs/usr/lib/thunarx-1
33 cp -a $_pkg/usr/share/icons $fs/usr/share
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 # Fix perms
38 chmod 755 $fs/usr/lib/thunar-archive-plugin/*
40 # Cleanup
41 rm -f $fs/usr/lib/thunarx-1/*.*a
43 # Strip evrythings
44 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
45 }