wok-next diff setserial/receipt @ rev 16229
fpc-bootstrap: prepare multi arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 08:34:15 2014 +0000 (2014-04-01) |
parents | 940b5937e496 |
children | d6288bc06bc4 |
line diff
1.1 --- a/setserial/receipt Wed Mar 02 11:06:20 2011 +0100 1.2 +++ b/setserial/receipt Tue Apr 01 08:34:15 2014 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Serial port configutation tool." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://setserial.sourceforge.net/" 1.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.11 @@ -13,7 +14,7 @@ 1.12 compile_rules() 1.13 { 1.14 cd $src 1.15 - mkdir -p _pkg/usr/bin 1.16 + mkdir -p $DESTDIR/usr/bin 1.17 1.18 # http://bugs.gentoo.org/309883 1.19 # & remove warnings 1.20 @@ -22,12 +23,12 @@ 1.21 ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.23 make $PACKAGE && 1.24 - install -m 755 $PACKAGE _pkg/usr/bin 1.25 + install -m 755 $PACKAGE $DESTDIR/usr/bin 1.26 } 1.27 1.28 # Rules to gen a SliTaz package suitable for Tazpkg. 1.29 genpkg_rules() 1.30 { 1.31 - cp -a $_pkg/usr $fs 1.32 + cp -a $install/usr $fs 1.33 } 1.34