[go: nahoru, domu]

Skip to content

Commit

Permalink
Add the docment that how to make Debian package.
Browse files Browse the repository at this point in the history
  • Loading branch information
rsky committed Dec 4, 2012
1 parent b200724 commit 302449d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/debian/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.deb
mecab*
php-mecab*
15 changes: 15 additions & 0 deletions packages/debian/HOWTO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
How to make .deb
================

1. $ `sudo pear channel-discover pecl.opendogs.org`
2. $ `cd php-mecab/mecab`
3. $ `pear package package.xml`
4. $ `mv mecab-x.y.z.tgz ../packages/debian/` *[HERE]*
5. $ `dh-make-pecl --only 5 mecab-x.y.z.tgz`
6. $ `cd php-mecab-x.y.z`
7. edit debian/control
* Add 'mecab' and 'libmecab-dev` to 'Build-Depends'.
* Add 'libmecab1' to 'Depends'.
8. $ `debuild -uc -us`
9. $ `cd ..` *[HERE]*
10. $ `sudo dpkg -i php5-mecab_x.y.z-1_{amd64,i386}.deb`

0 comments on commit 302449d

Please sign in to comment.