wok annotate pysdm/receipt @ rev 17895

Up gnome-commander-i18n (1.4.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:28:23 2015 +0200 (2015-04-02)
parents d3b60b8cbf14
children 080c1dff8494
rev   line source
pascal@15376 1 # SliTaz package receipt.
pascal@15376 2
pascal@11563 3 PACKAGE="pysdm"
pascal@11563 4 VERSION="0.4.1"
pascal@11563 5 CATEGORY="system-tools"
pascal@11563 6 SHORT_DESC="A Storage Device Manager via udev (and not fstab)."
pascal@11563 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15376 8 LICENSE="GPL2"
pascal@11563 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11563 10 WEB_SITE="http://pysdm.sourceforge.net/"
pascal@11563 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11563 12
pascal@11563 13 DEPENDS="pygtk"
pascal@11563 14 BUILD_DEPENDS="python python-dev"
pascal@11563 15
pascal@11563 16 # Rules to configure and make the package.
pascal@11563 17 compile_rules()
pascal@11563 18 {
pascal@11563 19
pascal@11563 20 cd $src
pascal@11563 21 sed -i 's/gksudo/subox/;s/Settings;//' data/pysdm.desktop
pascal@11563 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@11563 23 --mandir=/usr/share/man \
pascal@11563 24 $CONFIGURE_ARGS &&
pascal@11563 25 make &&
pascal@11563 26 make DESTDIR=$DESTDIR install
pascal@11563 27 }
pascal@11563 28
pascal@11563 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11563 30 genpkg_rules()
pascal@11563 31 {
pascal@15376 32 cp -a $install/usr $fs
pascal@11563 33 }