4 SID_URL
:= $(SF
)/sidplay2
/sidplay2
/sidplay-libs-
$(SID_VERSION
)/sidplay-libs-
$(SID_VERSION
).
tar.gz
10 $(TARBALLS
)/sidplay-libs-
$(SID_VERSION
).
tar.gz
:
11 $(call download_pkg
,$(SID_URL
),sidplay2
)
13 .sum-sidplay2
: sidplay-libs-
$(SID_VERSION
).
tar.gz
15 sidplay-libs
: sidplay-libs-
$(SID_VERSION
).
tar.gz .sum-sidplay2
17 $(APPLY
) $(SRC
)/sidplay2
/sidplay2-openmode.patch
18 $(APPLY
) $(SRC
)/sidplay2
/sidplay2-endian.patch
19 $(APPLY
) $(SRC
)/sidplay2
/sidplay2-smartprt.patch
20 $(APPLY
) $(SRC
)/sidplay2
/sidplay2-noutils.patch
21 $(APPLY
) $(SRC
)/sidplay2
/sidplay2-string.patch
24 .sidplay2
: sidplay-libs
26 for d in . libsidplay builders resid builders
/resid-builder \
27 builders
/hardsid-builder libsidutils
; \
29 (cd
$</$$d && rm -rf aclocal.m4 Makefile.in configure
) || exit
$$?
; \
31 for d in . libsidplay resid builders
/resid-builder \
32 builders
/hardsid-builder libsidutils
; \
34 (cd
$</$$d && $(AUTORECONF
) -fiv
-I unix
$(ACLOCAL_AMFLAGS
)) || exit
$$?
; \
36 cd
$< && $(HOSTVARS
) .
/configure
$(HOSTCONF
)
37 cd
$< && $(MAKE
) install
38 cp
-- $(PREFIX
)/lib
/sidplay
/builders
/* "$(PREFIX)/lib/"