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