wok-6.x annotate libspectrum/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | ce522e556202 |
children | 6eff489aa802 |
rev | line source |
---|---|
slaxemulator@9457 | 1 # SliTaz package receipt. |
slaxemulator@9457 | 2 |
slaxemulator@9457 | 3 PACKAGE="libspectrum" |
slaxemulator@9457 | 4 VERSION="1.0.0" |
slaxemulator@9457 | 5 CATEGORY="misc" |
slaxemulator@9457 | 6 SHORT_DESC="ZX Spectrum emulator support library" |
slaxemulator@9457 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9457 | 8 DEPENDS="zlib libgcrypt glib audiofile" |
slaxemulator@9457 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@9457 | 10 WEB_SITE="http://fuse-emulator.sourceforge.net/libspectrum.php" |
slaxemulator@9457 | 11 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL" |
slaxemulator@9457 | 12 |
slaxemulator@9457 | 13 # Rules to configure and make the package. |
slaxemulator@9457 | 14 compile_rules() |
slaxemulator@9457 | 15 { |
slaxemulator@9457 | 16 cd $src |
gokhlayeh@11573 | 17 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@9457 | 18 } |
slaxemulator@9457 | 19 |
slaxemulator@9457 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9457 | 21 genpkg_rules() |
slaxemulator@9457 | 22 { |
slaxemulator@9457 | 23 mkdir -p $fs/usr/lib |
slaxemulator@9457 | 24 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@9457 | 25 } |
slaxemulator@9457 | 26 |