1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
|
#if 0 /*
# -----------------------------------------------------------------------
# Makefile - builds the runtime (libraries and apps)
#
# $Id: Makefile 4281 2003-11-10 01:17:04Z rshortt $
#
# Notes:
# Todo:
#
# -----------------------------------------------------------------------
# $Log$
# Revision 1.24 2003/11/10 01:17:04 rshortt
# Incriment runtime version.
#
# Revision 1.23 2003/11/10 01:09:42 rshortt
# Turn the runapp's DEBUG on.
#
# Revision 1.22 2003/11/09 19:35:46 rshortt
# Runtime fixes.
#
# Revision 1.21 2003/11/09 16:36:46 rshortt
# Some pygphoto and gphoto plugin fixes.
#
# Revision 1.20 2003/10/31 20:13:01 rshortt
# Changes for the 1.4 runtime and add runtime_release target.
#
# Revision 1.19 2003/08/06 00:34:45 rshortt
# Adding pylcd.
#
# Revision 1.18 2003/06/22 17:20:16 rshortt
# Go back to using the system python because it is easier.
#
# Revision 1.17 2003/04/22 01:33:35 rshortt
# Bugfixes.
#
# Revision 1.16 2003/04/21 19:31:37 rshortt
# Add mplayer and ffmpeg.
#
# Revision 1.15 2003/04/20 13:53:38 rshortt
# Added a build of DirectFB.
#
# Revision 1.14 2003/04/20 13:06:36 rshortt
# Added a DXR3 build. (build_dxr3)
#
# Revision 1.13 2003/04/19 20:08:30 rshortt
# Better COPY_BASE
#
# Revision 1.12 2003/04/19 19:54:42 rshortt
# Modifications for a runtime build system. Still WIP but almost done.
#
# Revision 1.11 2003/03/04 05:44:36 krister
# Added fchksum
#
# Revision 1.10 2003/02/21 04:36:43 krister
# Bugfix for missing network libs.
#
# Revision 1.9 2003/02/19 08:08:29 krister
# Applied Aubins new pylirc code after testing it (seems to work with keyboard at least), and adding the pylircmodule to the runtime build environment (not required for keyboard operation).
#
# Revision 1.8 2003/02/18 04:54:05 krister
# runtime builder updates.
#
# Revision 1.7 2003/02/18 04:15:27 krister
# Added jpegtran to the runtime build.
#
# Revision 1.6 2003/02/07 05:06:32 krister
# Added execute flag for pygphoto.so
#
# Revision 1.5 2003/02/05 15:22:52 krister
# Updated build stuff, Changelog
#
# Revision 1.4 2003/02/05 06:10:46 krister
# Changed the start scripts and childapp.py to use startprog to start all programs.
#
# Revision 1.3 2003/01/28 03:45:35 krister
# Work in progress...
#
# Revision 1.2 2003/01/24 07:30:56 krister
# Create missing folders.
#
# Revision 1.1 2003/01/24 07:19:48 krister
# New runtime
#
#
#
# -----------------------------------------------------------------------
# Freevo - A Home Theater PC framework
# Copyright (C) 2002 Krister Lagerstrom, et al.
# Please see the file freevo/Docs/CREDITS for a complete list of authors.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MER-
# CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
# Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# ----------------------------------------------------------------------- */
#endif
include package_list.mk
RUNTIME_VERSION="0.3"
COPY_BASE=`pwd`
EXT=
PACKAGE=
PACKAGE_GET=
TAR1="tar zxvf"
TAR2="tar jxvf"
PREFIX=/usr
COPY_BASE=$(PREFIX)
CFGFLAGS="--prefix=$(PREFIX)"
PYBIN=/usr/bin/python
LIRCLIB=/usr/local/lib
LIRCINC=/usr/local/include
LOGDIR=/var/log/freevo
.PHONY: copy build clean src copy_libdeps
# There is no default target, you gotta know what you're doing :-)
all:
@echo
@echo Please see the Makefile source and the Wiki for more info!
@echo
@echo Right now this file is only used as a tool to release the binary
@echo runtime.
@echo
runapp_static: src/runapp.c
rm -f runapp
$(CC) $(CFLAGS) -static -o runapp src/runapp.c -DRUNAPP_LOGDIR=\"$(LOGDIR)\" -DDEBUG
strip runapp
runapp_dyn: src/runapp.c
rm -f runapp
$(CC) $(CFLAGS) -o runapp src/runapp.c -DRUNAPP_LOGDIR=\"$(LOGDIR)\" -DDEBUG
strip runapp
runtime_release: runapp_static copy
rm -f ../freevo-runtime-$(RUNTIME_VERSION).tar.gz
cd ..; \
tar zcvhf freevo-runtime-$(RUNTIME_VERSION).tar.gz runtime/runapp runtime/apps runtime/lib runtime/dll runtime/preloads ; \
cd -
# Copy the libraries, programs etc to this directory
# There is no dependency checking, the libs are just copied
# It is probably a good idea to do a build first, unless you know
# all libs are up-to-date.
# Python programs in lib/ have their execute flag removed since
# RPM building chokes on them.
copy: python_copy jpegtran_copy matroxset_copy copy_libdeps
find lib -name "*.so" -exec strip {} \;
find dll -name "*.so*" -exec strip {} \;
find apps -perm +111 -type f -exec strip {} \;
find lib -name "*.py" -perm +0111 -exec chmod ugo-x \{\} \;
# Build all the libraries etc
build:
$(MAKE) -C build all
# Copy apps etc from the build dir
build_copy:
$(MAKE) -C build copy
# Remove all copied libraries, programs etc
# The build directory is not touched
clean:
-rm -rf lib apps/* dll/* tmp preloads
# A python app that checks all libs and apps to find dynamic
# link lib dependencies. All deps are copied to the dll folder.
# The dynamic link loader ld-linux is renamed to freevo-run for
# easy killing in the main startscript 'freevo'
copy_libdeps:
-rm -rf dll
-mkdir -p dll
python copy_libdeps.py
mv dll/ld-linux.so.2 dll/freevo_loader
cp $(PREFIX)/lib/i486/libcrypto.so.0.9.7 dll/
cp $(PREFIX)/lib/i486/libssl.so.0.9.7 dll/
################################################################################
#
# Python 2.3
#
################################################################################
# This will copy a number of the other packages as well since they're installed
# in python's site-packages folder.
python_copy:
@echo Copying python
-rm -rf lib
-rm -rf tmp
-mkdir -p lib
-mkdir -p apps
cp -a /usr/lib/python2.3 lib
find . -name "*.pyo" -exec rm {} \;
find . -name "*.pyc" -exec rm {} \;
rm -rf lib/python2.3/config
rm -rf lib/python2.3/lib-tk
rm -rf lib/python2.3/lib-old
rm -rf lib/python2.3/test
-mkdir -p tmp
cp -a lib/python2.3/site-packages/{Numeric,Numeric.pth} tmp
cp -a lib/python2.3/site-packages/{PIL,PIL.pth,_xmlplus,aomodule.so} tmp
cp -a lib/python2.3/site-packages/{ogg,pygame,_pygphoto.so,pygphoto.py} tmp
cp -a lib/python2.3/site-packages/{pylircmodule.so,fchksum.so,pylcd.py} tmp
cp -a lib/python2.3/site-packages/{mmpython,twisted} tmp
rm -rf lib/python2.3/site-packages
mv tmp lib/python2.3/site-packages
cp -a /usr/bin/python2.3 apps/freevo_python
################################################################################
#
# MPlayer/Mencoder
#
################################################################################
mplayer_copy:
@echo Copying mplayer/mencoder
-mkdir -p apps/mplayer
cp $(PREFIX)/MPlayer/bin/{mplayer,mencoder} ./apps/mplayer/
# cp $(PREFIX)/MPlayer/bin/README ./apps/mplayer/README.mplayer
# cp $(PREFIX)/MPlayer/bin/etc/{codecs.conf,input.conf} ./apps/mplayer/
################################################################################
#
# MPlayer fonts
#
################################################################################
mplayer_fonts_copy:
@echo Copying mplayer fonts
-mkdir -p apps/mplayer/font
cp $(PREFIX)/MPlayer/font/* apps/mplayer/font
################################################################################
#
# cdparanoia
#
################################################################################
cdparanoia_copy:
@echo Copying cdparanoia
cp -a $(PREFIX)/bin/cdparanoia apps/
################################################################################
#
# lame
#
################################################################################
lame_copy:
@echo Copying lame
cp -a $(PREFIX)/bin/lame apps/
################################################################################
#
# jpegtran. comes from the libjpeg v6b library.
#
################################################################################
jpegtran_copy:
@echo Copying jpegtran
cp -a $(PREFIX)/bin/jpegtran apps/
################################################################################
#
# matroxset, comes with mplayer
#
################################################################################
matroxset_copy:
@echo Copying matroxset
cp -a $(PREFIX)/bin/matroxset apps/
build_all_pkg: build_packageconfig build_libusb build_python build_jpeg build_png build_zlib build_ffmpeg build_dxr3 build_directfb build_sdl build_alsa build_aumix build_cddb build_cdparanoia build_egenix build_expat build_freetype build_lame build_libao build_libexif build_libgphoto build_libogg build_libvorbis build_pyogg build_pyvorbis build_pyao build_pyfchksum build_pyimaging build_pylirc build_pynumeric build_pyxml build_pyxmms build_sdlimage build_sdlttf build_smpeg build_sdlmixer build_pygame build_swig build_pygphoto build_vorbistools build_mp1e build_mplayer get_mplayer_fonts
build_python: PACKAGE=$(PYTHON)
build_python: PACKAGE_GET=$(PYTHON_GET)
build_python: EXT=tgz
build_python: TAR=$(TAR1)
build_python: BUILDCMDS=
build_python: CFG=$(CFGFLAGS)
build_python:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_expat: PACKAGE=$(EXPAT)
build_expat: PACKAGE_GET=$(EXPAT_GET)
build_expat: EXT=tar.gz
build_expat: TAR=$(TAR1)
build_expat: BUILDCMDS=
build_expat: CFG=$(CFGFLAGS)
build_expat:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_mp1e: PACKAGE=$(MP1E)
build_mp1e: PACKAGE_GET=$(MP1E_GET)
build_mp1e: EXT=tar.gz
build_mp1e: TAR=$(TAR1)
build_mp1e: BUILDCMDS=
build_mp1e: CFG=$(CFGFLAGS)
build_mp1e:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyxml: PACKAGE=$(PYXML)
build_pyxml: PACKAGE_GET=$(PYXML_GET)
build_pyxml: EXT=tar.gz
build_pyxml: TAR=$(TAR1)
build_pyxml: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyxml: CFG=$(CFGFLAGS)
build_pyxml:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_alsa: PACKAGE=$(ALSA)
build_alsa: PACKAGE_GET=$(ALSA_GET)
build_alsa: EXT=tar.bz2
build_alsa: TAR=$(TAR2)
build_alsa: BUILDCMDS=
build_alsa: CFG=$(CFGFLAGS)
build_alsa:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_aumix: PACKAGE=$(AUMIX)
build_aumix: PACKAGE_GET=$(AUMIX_GET)
build_aumix: EXT=tar.bz2
build_aumix: TAR=$(TAR2)
build_aumix: BUILDCMDS=
build_aumix: CFG="$(CFGFLAGS) --without-ncurses --without-gpm --without-sysmouse --without-gtk --without-gtk1 --disable-nls --with-alsa"
build_aumix:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
aumix-2.8 $(CFG) $(BUILDCMDS)
build_cddb: PACKAGE=$(CDDB)
build_cddb: PACKAGE_GET=$(CDDB_GET)
build_cddb: EXT=tar.gz
build_cddb: TAR=$(TAR1)
build_cddb: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_cddb: CFG=$(CFGFLAGS)
build_cddb:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
CDDB-1.3 $(CFG) $(BUILDCMDS)
build_cdparanoia: PACKAGE=$(CDPARANOIA)
build_cdparanoia: PACKAGE_GET=$(CDPARANOIA_GET)
build_cdparanoia: EXT=src.tgz
build_cdparanoia: TAR=$(TAR1)
build_cdparanoia: BUILDCMDS=
build_cdparanoia: CFG=$(CFGFLAGS)
build_cdparanoia:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_egenix: PACKAGE=$(EGENIX)
build_egenix: PACKAGE_GET=$(EGENIX_GET)
build_egenix: EXT=tar.gz
build_egenix: TAR=$(TAR1)
build_egenix: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_egenix: CFG=$(CFGFLAGS)
build_egenix:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_freetype: PACKAGE=$(FREETYPE)
build_freetype: PACKAGE_GET=$(FREETYPE_GET)
build_freetype: EXT=tar.gz
build_freetype: TAR=$(TAR1)
build_freetype: BUILDCMDS=
build_freetype: CFG=$(CFGFLAGS)
build_freetype:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_jpeg: PACKAGE=$(JPEG)
build_jpeg: PACKAGE_GET=$(JPEG_GET)
build_jpeg: EXT=tar.gz
build_jpeg: TAR=$(TAR1)
build_jpeg: BUILDCMDS=
build_jpeg: CFG="$(CFGFLAGS) --enable-shared"
build_jpeg:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
jpeg-6b $(CFG) $(BUILDCMDS)
build_lame: PACKAGE=$(LAME)
build_lame: PACKAGE_GET=$(LAME_GET)
build_lame: EXT=tar.gz
build_lame: TAR=$(TAR1)
build_lame: BUILDCMDS=
build_lame: CFG=$(CFGFLAGS)
build_lame:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libao: PACKAGE=$(LIBAO)
build_libao: PACKAGE_GET=$(LIBAO_GET)
build_libao: EXT=tar.gz
build_libao: TAR=$(TAR1)
build_libao: BUILDCMDS=
build_libao: CFG=$(CFGFLAGS)
build_libao:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libexif: PACKAGE=$(LIBEXIF)
build_libexif: PACKAGE_GET=$(LIBEXIF_GET)
build_libexif: EXT=tar.gz
build_libexif: TAR=$(TAR1)
build_libexif: BUILDCMDS=
build_libexif: CFG=$(CFGFLAGS)
build_libexif:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libgphoto: PACKAGE=$(LIBGPHOTO)
build_libgphoto: PACKAGE_GET=$(LIBGPHOTO_GET)
build_libgphoto: EXT=tar.gz
build_libgphoto: TAR=$(TAR1)
build_libgphoto: BUILDCMDS=
build_libgphoto: CFG=$(CFGFLAGS)
build_libgphoto:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libogg: PACKAGE=$(LIBOGG)
build_libogg: PACKAGE_GET=$(LIBOGG_GET)
build_libogg: EXT=tar.gz
build_libogg: TAR=$(TAR1)
build_libogg: BUILDCMDS=
build_libogg: CFG=$(CFGFLAGS)
build_libogg:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libusb: PACKAGE=$(LIBUSB)
build_libusb: PACKAGE_GET=$(LIBUSB_GET)
build_libusb: EXT=tar.gz
build_libusb: TAR=$(TAR1)
build_libusb: BUILDCMDS=
build_libusb: CFG=$(CFGFLAGS)
build_libusb:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_libvorbis: PACKAGE=$(LIBVORBIS)
build_libvorbis: PACKAGE_GET=$(LIBVORBIS_GET)
build_libvorbis: EXT=tar.gz
build_libvorbis: TAR=$(TAR1)
build_libvorbis: BUILDCMDS=
build_libvorbis: CFG=$(CFGFLAGS)
build_libvorbis:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_packageconfig: PACKAGE=$(PKGCONFIG)
build_packageconfig: PACKAGE_GET=$(PKGCONFIG_GET)
build_packageconfig: EXT=tar.gz
build_packageconfig: TAR=$(TAR1)
build_packageconfig: BUILDCMDS=
build_packageconfig: CFG=$(CFGFLAGS)
build_packageconfig:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_png: PACKAGE=$(PNG)
build_png: PACKAGE_GET=$(PNG_GET)
build_png: EXT=tar.gz
build_png: TAR=$(TAR1)
build_png: BUILDCMDS="cp scripts/makefile.linux Makefile; make prefix=$(PREFIX); make install prefix=$(PREFIX)"
build_png: CFG=$(CFGFLAGS)
build_png:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyao: PACKAGE=$(PYAO)
build_pyao: PACKAGE_GET=$(PYAO_GET)
build_pyao: EXT=tar.gz
build_pyao: TAR=$(TAR1)
build_pyao: BUILDCMDS="$(PYBIN) config_unix.py; $(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyao: CFG=$(CFGFLAGS)
build_pyao:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyfchksum: PACKAGE=$(PYFCHKSUM)
build_pyfchksum: PACKAGE_GET=$(PYFCHKSUM_GET)
build_pyfchksum: EXT=tar.gz
build_pyfchksum: TAR=$(TAR1)
build_pyfchksum: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyfchksum: CFG=$(CFGFLAGS)
build_pyfchksum:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pygame: PACKAGE=$(PYGAME)
build_pygame: PACKAGE_GET=$(PYGAME_GET)
build_pygame: EXT=tar.gz
build_pygame: TAR=$(TAR1)
build_pygame: BUILDCMDS=
build_pygame: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pygame: CFG=$(CFGFLAGS)
build_pygame:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyimaging: PACKAGE=$(PYIMAGING)
build_pyimaging: PACKAGE_GET=$(PYIMAGING_GET)
build_pyimaging: EXT=tar.gz
build_pyimaging: TAR=$(TAR1)
build_pyimaging: BUILDCMDS="./configure --prefix=$(PREFIX); make; cd ..; $(PYBIN) setup.py build; $(PYBIN) setup.py install;"
build_pyimaging: CFG=$(CFGFLAGS)
build_pyimaging:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE)/libImaging $(CFG) $(BUILDCMDS)
build_pylirc: PACKAGE=$(PYLIRC)
build_pylirc: PACKAGE_GET=$(PYLIRC_GET)
build_pylirc: EXT=tar.gz
build_pylirc: TAR=$(TAR1)
build_pylirc: BUILDCMDS="ln -s $(LIRCINC)/lirc .; $(PYBIN) setup.py install; gcc -shared build/temp.linux-i686-2.2/pylircmodule.o -I$(LIRCINC) -L$(LIRCLIB) -llirc_client -o build/lib.linux-i686-2.2/pylircmodule.so; $(PYBIN) setup.py install"
build_pylirc: CFG=$(CFGFLAGS)
build_pylirc:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pynumeric: PACKAGE=$(PYNUMERIC)
build_pynumeric: PACKAGE_GET=$(PYNUMERIC_GET)
build_pynumeric: EXT=tar.gz
build_pynumeric: TAR=$(TAR1)
build_pynumeric: BUILDCMDS="$(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pynumeric: CFG=$(CFGFLAGS)
build_pynumeric:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyogg: PACKAGE=$(PYOGG)
build_pyogg: PACKAGE_GET=$(PYOGG_GET)
build_pyogg: EXT=tar.gz
build_pyogg: TAR=$(TAR1)
build_pyogg: BUILDCMDS="$(PYBIN) config_unix.py; $(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyogg: CFG=$(CFGFLAGS)
build_pyogg:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyvorbis: PACKAGE=$(PYVORBIS)
build_pyvorbis: PACKAGE_GET=$(PYVORBIS_GET)
build_pyvorbis: EXT=tar.gz
build_pyvorbis: TAR=$(TAR1)
build_pyvorbis: BUILDCMDS="$(PYBIN) config_unix.py; $(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyvorbis: CFG=$(CFGFLAGS)
build_pyvorbis:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_pyxmms: PACKAGE=$(PYXMMS)
build_pyxmms: PACKAGE_GET=$(PYXMMS_GET)
build_pyxmms: EXT=tar.gz
build_pyxmms: TAR=$(TAR1)
build_pyxmms: BUILDCMDS="$(PYBIN) config_unix.py; $(PYBIN) setup.py build; $(PYBIN) setup.py install"
build_pyxmms: CFG=$(CFGFLAGS)
build_pyxmms:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_sdl: PACKAGE=$(SDL)
build_sdl: PACKAGE_GET=$(SDL_GET)
build_sdl: EXT=tar.gz
build_sdl: TAR=$(TAR1)
build_sdl: BUILDCMDS=
build_sdl: CFG="$(CFGFLAGS) --enable-video-dxr3 --enable-video-directfb"
build_sdl:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_sdlimage: PACKAGE=$(SDLIMAGE)
build_sdlimage: PACKAGE_GET=$(SDLIMAGE_GET)
build_sdlimage: EXT=tgz
build_sdlimage: TAR=$(TAR1)
build_sdlimage: BUILDCMDS=
build_sdlimage: CFG=$(CFGFLAGS)
build_sdlimage:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_sdlmixer: PACKAGE=$(SDLMIXER)
build_sdlmixer: PACKAGE_GET=$(SDLMIXER_GET)
build_sdlmixer: EXT=tar.gz
build_sdlmixer: TAR=$(TAR1)
build_sdlmixer: BUILDCMDS=
build_sdlmixer: CFG=$(CFGFLAGS)
build_sdlmixer:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_sdlttf: PACKAGE=$(SDLTTF)
build_sdlttf: PACKAGE_GET=$(SDLTTF_GET)
build_sdlttf: EXT=tar.gz
build_sdlttf: TAR=$(TAR1)
build_sdlttf: BUILDCMDS=
build_sdlttf: CFG=$(CFGFLAGS)
build_sdlttf:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_smpeg: PACKAGE=$(SMPEG)
build_smpeg: PACKAGE_GET=$(SMPEG_GET)
build_smpeg: EXT=tar.gz
build_smpeg: TAR=$(TAR1)
build_smpeg: BUILDCMDS=
build_smpeg: CFG=$(CFGFLAGS)
build_smpeg:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_swig: PACKAGE=$(SWIG)
build_swig: PACKAGE_GET=$(SWIG_GET)
build_swig: EXT=tar.gz
build_swig: TAR=$(TAR1)
build_swig: BUILDCMDS=
build_swig: CFG="$(CFGFLAGS) --with-python=$(PREFIX)/bin/python"
build_swig:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
SWIG-1.3.17 $(CFG) $(BUILDCMDS)
build_pygphoto: PACKAGE=$(PYGPHOTO)
build_pygphoto: PACKAGE_GET=$(PYGPHOTO_GET)
build_pygphoto: EXT=tar.gz
build_pygphoto: TAR=$(TAR1)
build_pygphoto: BUILDCMDS="make COPY_BASE=$(PREFIX); cp pygphoto.so $(PREFIX)/lib/python2.2/site-packages/"
build_pygphoto: CFG=$(CFGFLAGS)
build_pygphoto:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_vorbistools: PACKAGE=$(VORBISTOOLS)
build_vorbistools: PACKAGE_GET=$(VORBISTOOLS_GET)
build_vorbistools: EXT=tar.gz
build_vorbistools: TAR=$(TAR1)
build_vorbistools: BUILDCMDS=
build_vorbistools: CFG=$(CFGFLAGS)
build_vorbistools:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_dxr3: PACKAGE=$(DXR3)
build_dxr3: PACKAGE_GET=$(DXR3_GET)
build_dxr3: EXT=tar.gz
build_dxr3: TAR=$(TAR1)
build_dxr3: BUILDCMDS=
build_dxr3: CFG="$(CFGFLAGS)"
build_dxr3:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_zlib: PACKAGE=$(ZLIB)
build_zlib: PACKAGE_GET=$(ZLIB_GET)
build_zlib: EXT=tar.gz
build_zlib: TAR=$(TAR1)
build_zlib: BUILDCMDS=
build_zlib: CFG="$(CFGFLAGS) --shared"
build_zlib:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_directfb: PACKAGE=$(DIRECTFB)
build_directfb: PACKAGE_GET=$(DIRECTFB_GET)
build_directfb: EXT=tar.gz
build_directfb: TAR=$(TAR1)
build_directfb: BUILDCMDS=
build_directfb: CFG="$(CFGFLAGS)"
build_directfb:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_ffmpeg: PACKAGE=$(FFMPEG)
build_ffmpeg: PACKAGE_GET=$(FFMPEG_GET)
build_ffmpeg: EXT=tar.gz
build_ffmpeg: TAR=$(TAR1)
build_ffmpeg: BUILDCMDS=
build_ffmpeg: CFG="$(CFGFLAGS)"
build_ffmpeg:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
build_mplayer: PACKAGE=$(MPLAYER)
build_mplayer: PACKAGE_GET=$(MPLAYER_GET)
build_mplayer: EXT=tar.gz
build_mplayer: TAR=$(TAR1)
build_mplayer: BUILDCMDS=
build_mplayer: CFG="--prefix=$(PREFIX)/MPlayer --enable-tv-v4l --enable-mga --enable-xmga --enable-runtime-cpudetection --enable-largefiles --disable-lirc --disable-svga --disable-arts --enable-directfb --enable-dxr3 --disable-xvid --disable-divx4linux --disable-gif --disable-gl --datadir=./apps/mplayer --confdir=./apps/mplayer"
build_mplayer:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
$(PACKAGE) $(CFG) $(BUILDCMDS)
get_mplayer_fonts: PACKAGE=$(MFONTS)
get_mplayer_fonts: PACKAGE_GET=$(MFONTS_GET)
get_mplayer_fonts: EXT=tar.bz2
get_mplayer_fonts: TAR=$(TAR2)
get_mplayer_fonts: BUILDCMDS="mkdir -p ../build/MPlayer; mv font-arial-18-iso-8859-1 ../build/MPlayer/font; rm ../build/MPlayer/font/runme"
get_mplayer_fonts: CFG="$(CFGFLAGS)"
get_mplayer_fonts:
@ . build_functions ;\
get_package $(PACKAGE) $(PACKAGE_GET) $(EXT) ;\
build_package $(COPY_BASE) $(TAR) $(EXT) $(PACKAGE) \
. $(CFG) $(BUILDCMDS)
|