3 CONFIGURE_OPTIONS
:= --platform
=M
--lcdwidth
=800 --lcdheight
=480 --target
=application
--ram
=8 --rbdir
=/.rockbox
--type
=N
4 DESKTOP_DIR
:= `pkg-config --variable=desktopentrydir osso-af-settings`
9 test -d builddir || mkdir
-p builddir
11 builddir
/Makefile
: builddir
12 cd builddir
&& test -f Makefile || ..
/tools
/configure
$(CONFIGURE_OPTIONS
)
16 build-stamp
: builddir
/Makefile
18 cd builddir
&& $(MAKE
)
33 cd builddir
&& $(MAKE
) PREFIX
=$(CURDIR
)/debian
/rockbox
/opt
/rockbox fullinstall
35 # Install icon and .desktop file
36 mkdir
-p
$(CURDIR
)/debian
/rockbox
/usr
/share
/icons
/hicolor
/64x64
/apps
37 cp
-f debian
/maemo
/rockbox.png
$(CURDIR
)/debian
/rockbox
/usr
/share
/icons
/hicolor
/64x64
/apps
38 mkdir
-p
$(CURDIR
)/debian
/rockbox
$(DESKTOP_DIR
)
39 cp
-f debian
/maemo
/rockbox.desktop
$(CURDIR
)/debian
/rockbox
$(DESKTOP_DIR
)
41 # Ignore built in sounds
42 mkdir
-p
$(CURDIR
)/debian
/rockbox
/usr
/share
/sounds
43 touch
$(CURDIR
)/debian
/rockbox
/usr
/share
/sounds
/database.ignore
45 # Build architecture-independent files here.
47 # We have nothing to do by default.
49 # Build architecture-dependent files here.
50 binary-arch
: build
install
57 dh_strip
--dbg-package
=rockbox-dbg
66 binary
: binary-indep binary-arch
67 .PHONY
: build
clean binary-indep binary-arch binary
install configure