wok-6.x annotate ploticus/receipt @ rev 12797
fltk-2.0.x: fix compile_rules with LD_LIBRARY_PATH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 10:17:05 2012 +0200 (2012-05-18) |
parents | 8bb44c8ffbb9 |
children | ea9c0883605a |
rev | line source |
---|---|
pascal@1609 | 1 # SliTaz package receipt. |
pascal@1609 | 2 |
pascal@1609 | 3 PACKAGE="ploticus" |
pascal@1609 | 4 VERSION="2.40" |
pascal@1609 | 5 CATEGORY="misc" |
pascal@1609 | 6 SHORT_DESC="Data display engine." |
pascal@1609 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1609 | 8 SOURCE="pl240src" |
pascal@1609 | 9 TARBALL="$SOURCE.tar.gz" |
pascal@1609 | 10 WEB_SITE="http://ploticus.sourceforge.net/" |
pascal@1609 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@2608 | 12 DEPENDS="zlib xorg libpng" |
pascal@1609 | 13 BUILD_DEPENDS="zlib-dev xorg-dev" |
pascal@1609 | 14 |
pascal@1609 | 15 # Rules to configure and make the package. |
pascal@1609 | 16 compile_rules() |
pascal@1609 | 17 { |
pascal@1609 | 18 mv $SOURCE $src 2> /dev/null |
pascal@1609 | 19 cd $src/src |
pascal@1609 | 20 make || return 1 |
pascal@1609 | 21 mkdir -p ../_pkg/usr/bin |
pascal@1609 | 22 cp pl ../_pkg/usr/bin |
pascal@1609 | 23 } |
pascal@1609 | 24 |
pascal@1609 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1609 | 26 genpkg_rules() |
pascal@1609 | 27 { |
pascal@1609 | 28 cp -a $_pkg/usr $fs |
pascal@1609 | 29 } |
pascal@1609 | 30 |