wok-current rev 14526
Add fdutils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 17 22:49:50 2013 +0200 (2013-05-17) |
parents | 76be3475ac52 |
children | 67868578708c |
files | fdutils/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fdutils/receipt Fri May 17 22:49:50 2013 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fdutils" 1.7 +VERSION="5.5" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="Utilities for configuring and formatting floppy." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.fdutils.linux.lu/" 1.13 +WGET_URL="$WEB_SITE$TARBALL" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="flex" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + mkdir -p $DESTDIR/etc 1.23 + sed -i -e "s|^bindir.*|bindir = $DESTDIR/usr/bin|" \ 1.24 + -e "s|^sysconfdir.*|sysconfdir = $DESTDIR/etc|" \ 1.25 + src/Makefile* 1.26 + ./configure $CONFIGURE_ARGS && 1.27 + make DESTDIR=$DESTDIR install-prog 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cp -a $install/* $fs 1.34 +}