Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
872 B

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. # Contributor : SpepS <dreamspepser at yahoo dot it>
  3. # Contributor: oslik <oslik@mail.ru>
  4. pkgname=u3d
  5. pkgver=1.4.4
  6. pkgrel=1
  7. pkgdesc="Set of libraries to manipulate U3D-formatted data. IDTF to U3D converter"
  8. url="http://88.192.69/68/ftp/public/other/"
  9. arch=('i686' 'x86_64')
  10. license=('custom:APACHE')
  11. depends=('libpng' 'libjpeg')
  12. options=('!libtool')
  13. source=(
  14. "$pkgname-$pkgver.tar.gz"
  15. )
  16. md5sums=('f9d1c6e9b2135c25958c75532f94c77b')
  17. build() {
  18. cd "$srcdir/$pkgname-$pkgver"
  19. # missing string.h
  20. sed -i '28i#include <string.h>' RTL/Component/Include/IFXAttributes.h
  21. ./configure --prefix=/usr \
  22. --enable-static=no
  23. make
  24. }
  25. package() {
  26. cd "$srcdir/$pkgname-$pkgver"
  27. make DESTDIR="$pkgdir/" install
  28. # license
  29. install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  30. }