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
814 B

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