wok-next view libspectrum/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 6eff489aa802 |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libspectrum"
4 VERSION="1.4.1"
5 CATEGORY="misc"
6 SHORT_DESC="ZX Spectrum emulator support library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://fuse-emulator.sourceforge.net/libspectrum.php"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/fuse-emulator/$TARBALL"
14 BUILD_DEPENDS="perl zlib-dev libgcrypt-dev bzip2-dev glib-dev audiofile-dev"
15 SPLIT="libspectrum-dev"
17 # Rules to configure and make the package.
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules() {
24 case $PACKAGE in
25 libspectrum)
26 copy @std
27 DEPENDS="audiofile bzlib glib libgcrypt libgpg-error pcre zlib"
28 ;;
29 *-dev)
30 copy @dev
31 DEPENDS="libspectrum audiofile-dev bzip2-dev glib-dev \
32 libgcrypt-dev libgpg-error-dev pcre-dev zlib-dev"
33 ;;
34 esac
35 }