wok-next view fdutils/receipt @ rev 20428
Port changes from cooking wok: fake-sane, sane-backends.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:17:46 2018 +0200 (2018-01-24) |
parents | 7896f0694ef6 |
children | 757d032c55c7 |
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 mkdir -p $DESTDIR/etc
21 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
22 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
23 src/Makefile*
24 ./configure $CONFIGURE_ARGS &&
25 make DESTDIR=$DESTDIR install-prog
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }