wok-current annotate pmount/receipt @ rev 3750
Add: usbutils-dev
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 14:23:00 2009 +0000 (2009-07-23) |
parents | 8872a9898faa |
children | ce8443e75c48 |
rev | line source |
---|---|
pascal@1888 | 1 # SliTaz package receipt. |
pascal@1888 | 2 |
pascal@1888 | 3 PACKAGE="pmount" |
pascal@1888 | 4 VERSION="0.9.13" |
pascal@1888 | 5 CATEGORY="system-tools" |
pascal@1888 | 6 SHORT_DESC="Mount arbitrary hotpluggable devices as normal user." |
pascal@1888 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1888 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1888 | 9 WEB_SITE="http://www.piware.de/projects.shtml" |
pascal@1888 | 10 WGET_URL="http://www.piware.de/projects/$TARBALL" |
pascal@2456 | 11 DEPENDS="dbus hal sysfsutils" |
pascal@1889 | 12 CONFIG_FILES="/etc/pmount.allow" |
pascal@1888 | 13 |
pascal@1888 | 14 # Rules to configure and make the package. |
pascal@1888 | 15 compile_rules() |
pascal@1888 | 16 { |
pascal@1888 | 17 cd $src |
pascal@1888 | 18 sed -i 's/ -D / /' src/Makefile* |
pascal@1888 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1888 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1888 | 21 make && |
pascal@1888 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1888 | 23 } |
pascal@1888 | 24 |
pascal@1888 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1888 | 26 genpkg_rules() |
pascal@1888 | 27 { |
pascal@1888 | 28 mkdir -p $fs/usr/share/locale |
pascal@1888 | 29 cp -a $_pkg/etc $fs |
pascal@1888 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1888 | 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@1888 | 32 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale |
pascal@1888 | 33 } |
pascal@1888 | 34 |