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 5b0ea64e332b7aab852a0e0d7e6e2d9e5cb9ebfe..0421590b22bbac4d440c47ecfefe1a6f8097bd16 100644 (file)
@@ -8,10 +8,12 @@
 name=imx-lib
 version=20111109
 release=1
-source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2)
+source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2
+        $name-flags.patch)
 
 build() {
   cd $name
-  make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include"
+  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
 }