wok-current view gparted/receipt @ rev 1815
Up: gparted to 0.4.1, fix BUILD_DEPENDS and disable doc build.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Dec 05 15:04:32 2008 +0100 (2008-12-05) |
parents | 33a264004dde |
children | 505478053dd0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gparted"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GTK partition editor."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libsigc++ glibmm gtkmm parted hal"
9 SUGGESTED="e2fsprogs dosfstools mtools ntfs-3g ntfsprogs jfsutils xfsprogs reiserfsprogs reiser4progs"
10 BUILD_DEPENDS="gtk+-dev libsigc++-dev glibmm-dev gtkmm-dev parted-dev
11 cairomm-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://gparted.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/system-tools.html#gparted'
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --disable-scrollkeeper \
24 --disable-doc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 sed -i s/'#!\/bin\/bash'/'#!\/bin\/sh'/ $fs/usr/sbin/gparted
36 }
38 # Version 0.3.7 - Binary has moved to /usr/sbin
39 post_install()
40 {
41 local root
42 root=$1
43 rm -f $root/usr/bin/gparted
44 }