h4ck/lg_webOS/_ipk-building/myipk/Makefile

23 lines
426 B
Makefile
Raw Normal View History

2016-11-17 23:51:38 +01:00
all: myipk.ipk
myipk.ipk:
rm -rf ipk
mkdir -p ipk/opt/myipk
2016-11-18 22:19:32 +01:00
#mkdir -p ipk/
#cp -r payload/* ipk/opt/myipk
cp -r payload/* ipk/
2016-11-17 23:51:38 +01:00
# sanity
echo 'bar' >> ipk/opt/myipk/foo
tar czvf control.tar.gz control
cd ipk; tar czvf ../data.tar.gz .; cd ..
echo 2.0 > debian-binary
ar r myipk.ipk control.tar.gz data.tar.gz debian-binary
clean: FORCE
rm -rf ipk
rm -f control.tar.gz
rm -f data.tar.gz
rm -f myipk.ipk
FORCE: