wok-next view libspectrum/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 0a667524ce79 |
children | 342b30daff76 |
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 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libspectrum)
27 copy @std
28 DEPENDS="audiofile bzlib glib libgcrypt libgpg-error pcre zlib"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="libspectrum audiofile-dev bzip2-dev glib-dev \
33 libgcrypt-dev libgpg-error-dev pcre-dev zlib-dev"
34 ;;
35 esac
36 }