Geändert:

* Packager neu erstellt.
  XAMPP Paket noch nicht drin. ERRORS! :(


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@175 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-06-13 21:05:40 +00:00
parent 1217aa018d
commit a8b159e729
30 changed files with 304 additions and 352 deletions

View File

@@ -131,3 +131,19 @@ define MD5
[ "$($@_MD5)" = `md5sum $(DIR_DL)/$@ | awk '{ print $$1 }'` ]
echo "$@ checksum OK"
endef
define PAK
@rm -rf /install/packages/package /tmp/* /packagetmp.tar
cd /
mkdir -p /install/packages/package
cp -f $(DIR_SRC)/src/paks/$(PROG)/{,un}install.sh /install/packages/package
cp -f $(DIR_SRC)/src/paks/$(PROG)/ROOTFILES /install/packages/package
chmod 755 /install/packages/package/{,un}install.sh
tar --create -C / --files-from=/install/packages/package/ROOTFILES -f /packagetmp.tar --exclude='#*'
tar -x -C /tmp -f /packagetmp.tar
@rm -f /packagetmp.tar
@cd /tmp && tar zcf /install/packages/package/files.tgz * && rm -rf *
cd /install/packages/package && cat ROOTFILES | grep -v "#" > ROOTFILES && tar cfz ../$(THISAPP)-$(PAK_VER).tar.gz files.tgz install.sh uninstall.sh ROOTFILES
cd /install/packages && md5sum $(THISAPP)-$(PAK_VER).tar.gz > $(THISAPP)-$(PAK_VER).tar.gz.md5
@rm -rf /install/packages/package
endef