wok-stable view catfish/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | 55d75f0e3533 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="catfish"
4 VERSION="0.3.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Catfish is a versatile file searching tool."
7 MAINTAINER="devl547@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.twotoasts.de/"
10 WGET_URL="http://www.twotoasts.de/media/catfish/$TARBALL"
11 BUILD_DEPENDS="pygtk-dev libglade-dev"
12 DEPENDS="pygtk libglade python-xdg"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/catfish
27 mkdir $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/catfish $fs/usr/share
31 cp -a $_pkg/usr/share/icons $fs/usr/share
32 cp -a $_pkg/usr/share/applications $fs/usr/share
33 rm -f $fs/usr/share/catfish/catfish.svg $fs/usr/share/catfish/locale
34 ln -s ../icons/hicolor/scalable/apps/catfish.svg $fs/usr/share/catfish/catfish.svg
35 ln -s ../locale $fs/usr/share/catfish/locale
36 }