wok diff p2c/receipt @ rev 18414
Add pyhn
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Sep 20 16:19:24 2015 +0100 (2015-09-20) |
parents | ccb41e668740 |
children | 8dd8bab3f0ca |
line diff
1.1 --- a/p2c/receipt Wed Jun 13 09:11:51 2012 +0200 1.2 +++ b/p2c/receipt Sun Sep 20 16:19:24 2015 +0100 1.3 @@ -5,11 +5,13 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A Pascal to C translator." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.ccrnp.ncifcrf.gov/~toms/p2c/daves.index.html" 1.10 WGET_URL="http://darkstar.ist.utl.pt/slackware/slackware_source/d/p2c/$TARBALL" 1.11 +TAGS="pascal" 1.12 + 1.13 DEPENDS="perl" 1.14 -TAGS="pascal" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 @@ -25,20 +27,20 @@ 1.19 Makefile 1.20 grep -q getlinep2c lex.c || sed -i 's/getline/getlinep2c/' * 1.21 make all p2cc 1.22 - mkdir -p ../_pkg/usr/lib/p2c ../_pkg/usr/include/p2c ../_pkg/usr/bin 1.23 - cp p2c p2cc ../_pkg/usr/bin 1.24 - cp libp2c.a ../_pkg/usr/lib 1.25 - ranlib ../_pkg/usr/lib/libp2c.a 1.26 - cp p2c.h ../_pkg/usr/include/p2c 1.27 + mkdir -p $DESTDIR/usr/lib/p2c $DESTDIR/usr/include/p2c $DESTDIR/usr/bin 1.28 + cp p2c p2cc $DESTDIR/usr/bin 1.29 + cp libp2c.a $DESTDIR/usr/lib 1.30 + ranlib $DESTDIR/usr/lib/libp2c.a 1.31 + cp p2c.h $DESTDIR/usr/include/p2c 1.32 cp sys.p2crc loc.p2crc system.imp system.m2 turbo.imp string.pas \ 1.33 - ../_pkg/usr/lib/p2c 1.34 - mv ../_pkg/usr/lib/p2c/sys.p2crc ../_pkg/usr/lib/p2c/p2crc 1.35 + $DESTDIR/usr/lib/p2c 1.36 + mv $DESTDIR/usr/lib/p2c/sys.p2crc $DESTDIR/usr/lib/p2c/p2crc 1.37 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - cp -a $_pkg/* $fs 1.44 + cp -a $install/* $fs 1.45 } 1.46