wok-6.x annotate pmount/receipt @ rev 10069
pmount: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 05:20:56 2011 +0000 (2011-05-20) |
parents | 91821d2640b2 |
children | 7452aa4084ce |
rev | line source |
---|---|
pascal@1888 | 1 # SliTaz package receipt. |
pascal@1888 | 2 |
pascal@1888 | 3 PACKAGE="pmount" |
slaxemulator@5438 | 4 VERSION="0.9.20" |
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" |
slaxemulator@5438 | 9 WEB_SITE="http://pmount.alioth.debian.org/" |
slaxemulator@5438 | 10 WGET_URL="http://alioth.debian.org/frs/download.php/3127/$TARBALL" |
pascal@2456 | 11 DEPENDS="dbus hal sysfsutils" |
gokhlayeh@8925 | 12 BUILD_DEPENDS="util-linux-ng-blkid-dev intltool" |
pascal@1889 | 13 CONFIG_FILES="/etc/pmount.allow" |
pascal@1888 | 14 |
pascal@1888 | 15 # Rules to configure and make the package. |
pascal@1888 | 16 compile_rules() |
pascal@1888 | 17 { |
pascal@1888 | 18 cd $src |
pascal@1888 | 19 sed -i 's/ -D / /' src/Makefile* |
slaxemulator@10069 | 20 ./configure $CONFIGURE_ARGS && |
slaxemulator@10069 | 21 make && make install |
pascal@1888 | 22 } |
pascal@1888 | 23 |
pascal@1888 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1888 | 25 genpkg_rules() |
pascal@1888 | 26 { |
pascal@1888 | 27 mkdir -p $fs/usr/share/locale |
pascal@1888 | 28 cp -a $_pkg/etc $fs |
pascal@1888 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1888 | 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pascal@1888 | 31 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale |
pascal@1888 | 32 } |
pascal@1888 | 33 |