Created
September 22, 2011 02:10
-
-
Save shurab/1233868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build directory includes | |
- rhoconnect source directory (rhoconnect-3.0.0.beta3/) | |
- script rho-install.sh | |
- Makefile | |
---------------------------------------- | |
script rho-install.sh | |
---------------------------------------- | |
#!/bin/sh | |
VERSION=3.0.0.beta3 | |
cd /tmp/installdir/rhoconnect-$VERSION | |
./install.sh | |
echo "Delete tmp files ..." | |
rm -rf /tmp/installdir | |
---------------------------------------- | |
Makefile | |
---------------------------------------- | |
NAME=rhoconnect | |
VERSION=0.1 | |
.PHONY: package | |
package: | |
fpm -s dir -t deb -n $(NAME) -v $(VERSION) \ | |
--post-install ./rho_install.sh --prefix /tmp/installdir \ | |
rhoconnect-3.0.0.beta3/ rho_install.sh | |
Run make to get debian package. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment