wok-6.x annotate clipit/receipt @ rev 17574

Up dropbear 2015.67
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 07 21:19:12 2015 +0000 (2015-02-07)
parents 449f2a7e0807
children c9dd0cdd33d8
rev   line source
al@15212 1 # SliTaz package receipt.
al@15212 2
al@15212 3 PACKAGE="clipit"
al@15212 4 VERSION="1.4.2"
al@15212 5 CATEGORY="utilities"
al@15212 6 SHORT_DESC="Lightweight, fully featured GTK+ clipboard manager"
al@15212 7 MAINTAINER="al.bobylev@gmail.com"
al@15212 8 LICENSE="GPL3"
al@15212 9 WEB_SITE="http://clipit.rspwn.com/"
al@15212 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@15212 11 WGET_URL="$SF_MIRROR/gtkclipit/Version%201/$TARBALL"
al@15212 12
al@15212 13 DEPENDS="gtk+"
al@15212 14 BUILD_DEPENDS="gtk+-dev"
al@15212 15
al@15212 16 # Rules to configure and make the package.
al@15212 17 compile_rules()
al@15212 18 {
al@15212 19 # fix subcategory for cascade menu
al@15212 20 sed -i 's|Categories=.*|Categories=GTK;Utility;TextTools;|' \
al@15212 21 $src/data/clipit.desktop.in
al@15275 22 # not use clipit icon
al@15275 23 sed -i 's|clipit-trayicon|edit-paste|' $src/data/clipit*.desktop.in
al@15275 24 sed -i 's|clipit-trayicon|edit-paste|' $src/src/main.c
al@15212 25
al@15275 26 ./configure \
al@15275 27 --sysconfdir=/etc \
al@15275 28 $CONFIGURE_ARGS &&
al@15275 29 make &&
al@15275 30 make install
al@15212 31 }
al@15212 32
al@15212 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@15212 34 genpkg_rules()
al@15212 35 {
al@15212 36 cp -a $install/* $fs
al@15275 37 rm -rf $fs/usr/share/icons $fs/usr/share/locale $fs/usr/share/man
al@15212 38 }