|
|
@ -0,0 +1,35 @@ |
|
|
|
# Maintainer : SpepS <dreamspepser at yahoo dot it> |
|
|
|
# Contributor: oslik <oslik@mail.ru> |
|
|
|
|
|
|
|
pkgname=u3d |
|
|
|
pkgver=1.4.4 |
|
|
|
pkgrel=1 |
|
|
|
pkgdesc="Set of libraries to manipulate U3D-formatted data. IDTF to U3D converter" |
|
|
|
url="http://88.192.69/68/ftp/public/other/" |
|
|
|
arch=('i686' 'x86_64') |
|
|
|
license=('custom:APACHE') |
|
|
|
depends=('libpng' 'libjpeg') |
|
|
|
options=('!libtool') |
|
|
|
source=("./$pkgname-$pkgver.tar.gz") |
|
|
|
md5sums=('f9d1c6e9b2135c25958c75532f94c77b') |
|
|
|
|
|
|
|
build() { |
|
|
|
cd "$srcdir/$pkgname-$pkgver" |
|
|
|
|
|
|
|
# missing string.h |
|
|
|
sed -i '28i#include <string.h>' RTL/Component/Include/IFXAttributes.h |
|
|
|
|
|
|
|
./configure --prefix=/usr \ |
|
|
|
--enable-static=no |
|
|
|
make |
|
|
|
} |
|
|
|
|
|
|
|
package() { |
|
|
|
cd "$srcdir/$pkgname-$pkgver" |
|
|
|
|
|
|
|
make DESTDIR="$pkgdir/" install |
|
|
|
|
|
|
|
# license |
|
|
|
install -Dm644 COPYING \ |
|
|
|
"$pkgdir/usr/share/licenses/$pkgname/LICENSE" |
|
|
|
} |