wok-next view pmount/receipt @ rev 2277
mirror-tools: fix chroot path for mkpkgiso
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 19 10:15:15 2009 +0000 (2009-02-19) |
parents | 17c992676fd9 |
children | d1aba649375c |
line source
1 # SliTaz package receipt.
3 PACKAGE="pmount"
4 VERSION="0.9.13"
5 CATEGORY="system-tools"
6 SHORT_DESC="Mount arbitrary hotpluggable devices as normal user."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.piware.de/projects.shtml"
10 WGET_URL="http://www.piware.de/projects/$TARBALL"
11 CONFIG_FILES="/etc/pmount.allow"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/ -D / /' src/Makefile*
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
31 cp -a $_pkg/usr/share/locale/de $fs/usr/share/locale
32 }