wok-next view slitaz-tools-boxes/receipt @ rev 13892

cookutils: get tarball from hg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 17 22:23:35 2013 +0100 (2013-01-17)
parents bb299a081d94
children 52531fea9784
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools-boxes"
4 VERSION="5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="All SliTaz GTKdialog boxes to command line tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-tools gtkdialog gettext-base yad"
9 SOURCE="slitaz-tools"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL"
13 CONFIG_FILES="/etc/wireless"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Fix for 5.1
20 sed -i s'/sv//' Makefile
21 make && make DESTDIR=$DESTDIR install-boxes
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/* $fs
29 chmod 0644 $fs/usr/share/locale/*/*/*.mo
30 chown -R root.root $fs
31 }