Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 29th, 2010  |  syntax: Bash  |  size: 0.72 KB  |  hits: 104  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: MIZUNO J.Y. <http://p.mjy.name/>
  2. pkgname=cproto
  3. pkgver=4.7h
  4. pkgrel=1
  5. pkgdesc='A program that generates function prototypes and variable declarations from C source code'
  6. arch=('i686' 'x86_64')
  7. url='http://sourceforge.net/projects/cproto/'
  8. license=('custom')
  9. source=("http://invisible-island.net/datafiles/release/cproto.tar.gz")
  10. noextract=()
  11. md5sums=('8fd0ff4aa00b5c2730ade74b617b2e0f')
  12.  
  13. build() {
  14.   cd "$srcdir/$pkgname-$pkgver"
  15.   ./configure "--prefix=$pkgdir/usr" "--mandir=$pkgdir/usr/share/man" || return 1
  16.   make || return 1
  17.   make install || return 1
  18.   install -d "$pkgdir/usr/share/licenses/$pkgname"
  19.   install -m ugo+r README "$pkgdir/usr/share/licenses/$pkgname/"
  20. }
  21.  
  22. # vim:set ts=2 sw=2 et: