CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
imx-lib: fixed optimizations and libs version
[ports/efikamx-arm.git] / imx-lib / Pkgfile
index 299a6e6702cb8a33b80cf401ef00e837ac8def66..0421590b22bbac4d440c47ecfefe1a6f8097bd16 100644 (file)
@@ -1,17 +1,19 @@
 # Description: platform specific unit tests for mxc platform 
-# URL: 
-# Maintainer: Victor Martinez, pitillo at ono dot com
+# URL: https://github.com/genesi/imx-userspace 
+# Packager: CRUX-ARM System Team, devel at crux-arm dot nu
+# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on: 
 
 name=imx-lib
-version=10.11.01
+version=20111109
 release=1
-source=(http://repository.timesys.com/buildsources/i/$name/$name-$version/$name-$version.tar.gz)
+source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2
+        $name-flags.patch)
 
 build() {
-  cd $name-$version
-  rm -rf sahara2/ rng/
-  make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include"
-  make DEST_DIR=$PKG install
+  cd $name
+  patch -p1 -i $SRC/$name-flags.patch
+  make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include" LIB_VERSION_MAJOR="2" LIB_VERSION_MINOR="0"
+  make DESTDIR=$PKG PLATFORM=IMX51 install
 }