wok-next annotate 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
rev   line source
pascal@14526 1 # SliTaz package receipt.
pascal@14526 2
pascal@14526 3 PACKAGE="fdutils"
pascal@14526 4 VERSION="5.5"
al@14742 5 CATEGORY="system-tools"
pascal@14526 6 SHORT_DESC="Utilities for configuring and formatting floppy."
pascal@14526 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pascal@14526 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14526 10 WEB_SITE="http://www.fdutils.linux.lu/"
pascal@14526 11 WGET_URL="$WEB_SITE$TARBALL"
pascal@14528 12 TAGS="floppy formatter"
pascal@14526 13
pascal@14526 14 DEPENDS=""
pascal@14526 15 BUILD_DEPENDS="flex"
pascal@14526 16
pascal@14526 17 # Rules to configure and make the package.
pascal@14526 18 compile_rules()
pascal@14526 19 {
pascal@14526 20 mkdir -p $DESTDIR/etc
pascal@14526 21 sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \
pascal@14526 22 -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \
pascal@14526 23 src/Makefile*
pascal@14526 24 ./configure $CONFIGURE_ARGS &&
pascal@14526 25 make DESTDIR=$DESTDIR install-prog
pascal@14526 26 }
pascal@14526 27
pascal@14526 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14526 29 genpkg_rules()
pascal@14526 30 {
pascal@14526 31 cp -a $install/* $fs
pascal@14526 32 }