wok-6.x view fdutils/receipt @ rev 15845

dosfstools: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 11:23:53 2014 +0000 (2014-01-27)
parents 7a526dcd4932
children 4ea0eb3f4881
line source
1 # SliTaz package receipt.
3 PACKAGE="fdutils"
4 VERSION="5.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for configuring and formatting floppy."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fdutils.linux.lu/"
11 WGET_URL="$WEB_SITE$TARBALL"
12 TAGS="floppy formatter"
14 DEPENDS=""
15 BUILD_DEPENDS="flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 mkdir -p $DESTDIR/etc
22 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
23 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
24 src/Makefile*
25 ./configure $CONFIGURE_ARGS &&
26 make DESTDIR=$DESTDIR install-prog
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }