CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-video-imxng: updated source
[ports/efikamx-arm.git] / imx-lib / Pkgfile
index 201078aad6f7938b14de1848cef68ddab615c239..01b6a689297401ff5e4de433f74582b9afd5b3f1 100644 (file)
@@ -1,17 +1,23 @@
 # Description: platform specific unit tests for mxc platform 
-# URL: 
+# 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
-release=2
-source=($name-$version.tar.gz)
+version=20130610
+release=1
+source=(http://resources.crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.xz
+        $name-flags.patch)
 
 build() {
   cd $name-$version
-  make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include -I/usr/src/linux-`uname -r`/drivers/mxc/security/rng/include -I/usr/src/linux-`uname -r`/drivers/mxc/security/sahara2/include"
-  make DEST_DIR=$PKG install
+  patch -p1 -i $SRC/$name-flags.patch
+  make -j1 \
+    PLATFORM=IMX51 \
+    INCLUDE="-I/usr/src/linux/include -I/usr/src/linux-`uname -r`/include" \
+    LIB_VERSION_MAJOR="2" \
+    LIB_VERSION_MINOR="0"
+  make DESTDIR=$PKG PLATFORM=IMX51 install
 }