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

ipkg-utils 050831 PKGBUILD for Python 2

By: a guest on Dec 20th, 2010  |  syntax: Bash  |  size: 0.96 KB  |  hits: 97  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Olivier Mehani <olivier.mehani@inria.fr>
  2. # $Id: PKGBUILD 996 2007-03-22 17:19:02Z mehani $
  3. # Mostly based on the Gentoo ebuild
  4. # http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/ipkg-utils/ipkg-utils-1.7.050831.ebuild?rev=1.3&view=markup
  5.  
  6. pkgname=ipkg-utils
  7. pkgver=050831
  8. pkgrel=2
  9. pkgdesc="The Itsy Package Management System utils"
  10. url="http://handhelds.org/moin/moin.cgi/Ipkg"
  11. source=(http://www.handhelds.org/download/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz
  12. ipkg-utils-050831.destdir.patch
  13. python-param.patch
  14. )
  15. depends=(python2)
  16. makedepends=(python2)
  17. md5sums=('4ede7edd4bcb69d9a0b74af2f68fd6da'
  18. 'f53ad35c8ea36dd42aeb2edf0c81df34'
  19. '02a46552a550841c153fdf0de96ee834'
  20. )
  21. arch=('any')
  22. license=('GPL')
  23.  
  24. build() {
  25.         cd "$srcdir/$pkgname-$pkgver"
  26.         patch -Np1 < ../ipkg-utils-050831.destdir.patch
  27.         patch -p1 < ../python-param.patch
  28.         make
  29. }
  30.  
  31. package() {
  32.         make -C "$srcdir/$pkgname-$pkgver" DESTDIR="$pkgdir" PREFIX=/usr \
  33.                 install
  34. }