diff --git a/README.md b/README.md index 9a9dc6f..87a0c0b 100644 --- a/README.md +++ b/README.md @@ -62,12 +62,18 @@ master分支请尽可能保持稳定, sudo apt-get install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder ``` -#### see also +##### see also - http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html - http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ +#### Openwrt + +##### see also + +- http://lists.openmoko.org/pipermail/devel/2008-July/000496.html + ## Links - [Array in unix Bourne Shell](http://unix.stackexchange.com/questions/137566/array-in-unix-bourne-shell) diff --git a/build/openwrt/build.sh b/build/openwrt/build.sh index 3ea4010..2c5d46c 100755 --- a/build/openwrt/build.sh +++ b/build/openwrt/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -VERSION=0.1-2 +VERSION=0.1-6 # lib mkdir -p ./debian/usr/lib/zjunet @@ -9,7 +9,7 @@ cp ../../lib/* ./debian/usr/lib/zjunet cat > control <= 1.3.1), curl @@ -29,8 +29,8 @@ find ./debian -type d | xargs chmod 755 cp control debian/DEBIAN # dpkg-deb -dpkg-deb --build debian -mv debian.deb zjunet_${VERSION}_all.ipk +dpkg-deb -Zgzip --build debian +mv debian.deb zjunet_${VERSION}_all.deb # remove debian/ rm -rf ./debian