wok-next annotate ms-sys/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 82fa5f95bda8 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@15902 | 1 # SliTaz package receipt. |
pascal@15902 | 2 |
pascal@15902 | 3 PACKAGE="ms-sys" |
pascal@18070 | 4 VERSION="2.5.0" |
pascal@15902 | 5 CATEGORY="system-tools" |
pascal@15902 | 6 SHORT_DESC="Program for writing Microsoft compatible boot records." |
pascal@15902 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15902 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15902 | 9 LICENSE="GPL2" |
pascal@15902 | 10 WEB_SITE="http://ms-sys.sourceforge.net/" |
pascal@15902 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15902 | 12 |
pascal@15902 | 13 DEPENDS="" |
pascal@15902 | 14 BUILD_DEPENDS="gettext" |
pascal@15902 | 15 |
pascal@15902 | 16 # Rules to configure and make the package. |
pascal@15902 | 17 compile_rules() |
pascal@15902 | 18 { |
pascal@19292 | 19 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile |
pascal@15902 | 20 make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@15902 | 21 } |
pascal@15902 | 22 |
pascal@15902 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15902 | 24 genpkg_rules() |
pascal@15902 | 25 { |
pascal@15902 | 26 mkdir -p $fs/usr |
pascal@15902 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15902 | 28 } |