CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xorg-xf86-video-fbdev: initial commit (verified compilation)
authorJose V Beneyto <sepen@crux.nu>
Fri, 18 Dec 2009 17:51:27 +0000 (18:51 +0100)
committerJose V Beneyto <sepen@crux.nu>
Fri, 18 Dec 2009 17:51:27 +0000 (18:51 +0100)
xorg-xf86-video-fbdev/.footprint [new file with mode: 0644]
xorg-xf86-video-fbdev/.md5sum [new file with mode: 0644]
xorg-xf86-video-fbdev/Pkgfile [new file with mode: 0644]

diff --git a/xorg-xf86-video-fbdev/.footprint b/xorg-xf86-video-fbdev/.footprint
new file mode 100644 (file)
index 0000000..ae10642
--- /dev/null
@@ -0,0 +1,10 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/xorg/
+drwxr-xr-x     root/root       usr/lib/xorg/modules/
+drwxr-xr-x     root/root       usr/lib/xorg/modules/drivers/
+-rwxr-xr-x     root/root       usr/lib/xorg/modules/drivers/fbdev_drv.la
+-rwxr-xr-x     root/root       usr/lib/xorg/modules/drivers/fbdev_drv.so
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man4/
+-rw-r--r--     root/root       usr/man/man4/fbdev.4.gz
diff --git a/xorg-xf86-video-fbdev/.md5sum b/xorg-xf86-video-fbdev/.md5sum
new file mode 100644 (file)
index 0000000..a9d91d8
--- /dev/null
@@ -0,0 +1 @@
+79ce1eb9f9d2ed56de70d8e06cb767d9  xf86-video-fbdev-0.4.1.tar.bz2
diff --git a/xorg-xf86-video-fbdev/Pkgfile b/xorg-xf86-video-fbdev/Pkgfile
new file mode 100644 (file)
index 0000000..678510c
--- /dev/null
@@ -0,0 +1,30 @@
+# Description: xorg driver xf86-video-fbdev
+# URL: http://xorg.freedesktop.org
+# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dyndns dot org
+# Depends on: xorg-server
+
+name=xorg-xf86-video-fbdev
+version=0.4.1
+release=1
+source=(http://xorg.freedesktop.org/releases/individual/driver/xf86-video-fbdev-$version.tar.bz2)
+
+build() {
+  cd xf86-video-fbdev-$version
+
+  export DEFAULT_LIBS="-L$CLFS/lib -L$CLFS/usr/lib -L$CLFS/usr/lib/xorg -L$CLFS/usr/lib/xorg/modules"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions"
+
+  export XORG_LIBS="$DEFAULT_LIBS -lXfont -lXrender -lXau -lpixman-1 -lXdmcp -lXv -lcrypt"
+  export XORG_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/xorg -fvisibility=hidden -DRENDER -DRANDR -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/pixman-1"
+  export PCIACCESS_LIBS="$DEFAULT_LIBS"
+  export PCIACCESS_CFLAGS="$DEFAULT_CFLAGS"
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man
+
+  make
+  make DESTDIR=$PKG install
+}