| 1 | = Hadoop 0.18.3 Debian Package 打包過程 = |
| 2 | |
| 3 | {{{ |
| 4 | ~$ sudo apt-get install gcc g++ g77 make patch pkg-config dpkg-dev debhelper devscripts dh-make fakeroot lintian |
| 5 | ~$ export DEBFULLNAME="Jazz Yao-Tsung Wang" |
| 6 | ~$ export DEBEMAIL="jazz@xxxx.xxx.xx" |
| 7 | ~$ wget http://ftp.twaren.net/Unix/Web/apache/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz |
| 8 | ~$ tar zxvf hadoop-0.18.3.tar.gz |
| 9 | ~$ cd hadoop-0.18.3 |
| 10 | ~/hadoop-0.18.3$ dh_make --createorig |
| 11 | |
| 12 | Type of package: single binary, multiple binary, library, kernel module or cdbs? |
| 13 | [s/m/l/k/b] s |
| 14 | |
| 15 | Maintainer name : Jazz Yao-Tsung Wang |
| 16 | Email-Address : jazz@xxxx.xxx.xx |
| 17 | Date : Thu, 19 Mar 2009 16:45:01 +0800 |
| 18 | Package Name : hadoop |
| 19 | Version : 0.18.3 |
| 20 | License : blank |
| 21 | Type of Package : Single |
| 22 | Hit <enter> to confirm: |
| 23 | Currently there is no top level Makefile. This may require additional tuning. |
| 24 | Done. Please edit the files in the debian/ subdirectory now. You should also |
| 25 | check that the hadoop Makefiles install into $DESTDIR and not in / . |
| 26 | }}} |