You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
PREFIX:=/ |
|
|
|
programs/sxmo_setpineled: |
|
gcc -o programs/sxmo_setpineled programs/sxmo_setpineled.c |
|
|
|
programs/sxmo_setpinebacklight: |
|
gcc -o programs/sxmo_setpinebacklight programs/sxmo_setpinebacklight.c |
|
|
|
programs/sxmo_screenlock: |
|
gcc -o programs/sxmo_screenlock programs/sxmo_screenlock.c -lX11 |
|
|
|
programs/sxmo_megiaudioroute: |
|
gcc -o programs/sxmo_megiaudioroute programs/sxmo_megiaudioroute.c |
|
|
|
programs/sxmo_pdudecode: |
|
gcc -o programs/sxmo_pdudecode programs/sxmo_pdudecode.c -I/usr/include/gammu -lGammu -lm |
|
|
|
install: programs/sxmo_setpineled programs/sxmo_setpinebacklight programs/sxmo_screenlock programs/sxmo_megiaudioroute programs/sxmo_pdudecode |
|
mkdir -p $(PREFIX)/usr/share/sxmo |
|
cp configs/* $(PREFIX)/usr/share/sxmo |
|
|
|
mkdir -p $(PREFIX)/etc/alsa/conf.d/ |
|
cp configs/alsa_sxmo_enable_dmix.conf $(PREFIX)/etc/alsa/conf.d/ |
|
|
|
mkdir -p $(PREFIX)/usr/bin |
|
cp scripts/*/* $(PREFIX)/usr/bin |
|
|
|
chown root programs/sxmo_setpineled |
|
chmod u+s programs/sxmo_setpineled |
|
cp programs/sxmo_setpineled $(PREFIX)/usr/bin |
|
|
|
chown root programs/sxmo_setpinebacklight |
|
chmod u+s programs/sxmo_setpinebacklight |
|
cp programs/sxmo_setpinebacklight $(PREFIX)/usr/bin |
|
|
|
chown root programs/sxmo_screenlock |
|
chmod u+s programs/sxmo_screenlock |
|
cp programs/sxmo_screenlock $(PREFIX)/usr/bin |
|
|
|
cp programs/sxmo_megiaudioroute $(PREFIX)/usr/bin |
|
cp programs/sxmo_pdudecode $(PREFIX)/usr/bin
|
|
|