Skip to content

Commit

Permalink
more work
Browse files Browse the repository at this point in the history
	modified:   Makefile
	modified:   README
	new file:   deps.sh
  • Loading branch information
jeromeetienne committed Oct 29, 2010
1 parent ab8ffbd commit 8a21e0f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Makefile
@@ -1,16 +1,17 @@
# full operation: make src_delete src_import ppa_upload

# define variables
# - to get the codename => $ lsb_release -c -s
PKGNAME="nodejs"
VERSION="0.2.0"
VERSION="0.2.4"
CODENAME="lucid"

PWD := $(shell pwd)
TMP_DIR := $(PWD)/tmp
SRC_DIR := $(TMP_DIR)/node
SRC_GIT := http://github.com/ry/node.git
SRC_TAG := v$(VERSION)


all: build

mydistclean: src_delete deb_clean
Expand All @@ -35,7 +36,7 @@ clean:
(cd $(SRC_DIR) && make clean; true)

build:
(cd $(SRC_DIR) && ./configure && make)
(cd $(SRC_DIR) && export GCC_VERSION=44 && ./configure && make)

install:
(cd $(SRC_DIR) && make install)
Expand All @@ -51,10 +52,10 @@ deb_bin_build:
debuild -i -us -uc -b

deb_upd_changelog:
dch --newversion $(VERSION)~lucid1~ppa`date +%Y%m%d%H%M` --maintmaint --force-bad-version --distribution `lsb_release -c -s` Another build
dch --newversion $(VERSION)~$(CODENAME)1~ppa`date +%Y%m%d%H%M` --maintmaint --force-bad-version --distribution `lsb_release -c -s` Another build

deb_clean:
rm -f ../$(PKGNAME)_$(VERSION)~lucid1~ppa*
rm -f ../$(PKGNAME)_$(VERSION)~$(CODENAME)1~ppa*

ppa_upload: src_delete src_import clean deb_clean deb_upd_changelog deb_src_build
dput -U ppa:jerome-etienne/neoip ../$(PKGNAME)_$(VERSION)~lucid1~ppa*_source.changes
dput -U ppa:jerome-etienne/neoip ../$(PKGNAME)_$(VERSION)~$(CODENAME)1~ppa*_source.changes
5 changes: 4 additions & 1 deletion README
Expand Up @@ -8,4 +8,7 @@ sudo apt-get install nodejs

nodejs will be automatically updated when you do the usual apt-get upgrade
$ node -v
v0.1.103
v0.1.103

to install dependancies
sudo sh deps.sh
10 changes: 10 additions & 0 deletions deps.sh
@@ -0,0 +1,10 @@
# to get all the deb building scripts
sudo apt-get install devscripts
sudo apt-get install debhelper

# to get the signing programm
# - but the key need to be in launchpad for ppa
sudo apt-get install gnupg

# to compile ssl in nodejs
sudo apt-get install libssl-dev

0 comments on commit 8a21e0f

Please sign in to comment.