summaryrefslogtreecommitdiffstats
path: root/linux-firmware/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.servegame.org>2012-08-14 22:29:03 +0200
committerpiernov <piernov@piernov.servegame.org>2012-08-14 22:29:03 +0200
commit178d07aa9f08c937746ef172ce477fb22e0c9050 (patch)
tree7e9ff593b1588f5ef30fbf9184e962f3b971475a /linux-firmware/Pkgfile
parent799142efbe2ad49d573f253a06fbd1baaa03ff0e (diff)
downloadnutyx-pakxe-178d07aa9f08c937746ef172ce477fb22e0c9050.tar.gz
nutyx-pakxe-178d07aa9f08c937746ef172ce477fb22e0c9050.tar.bz2
nutyx-pakxe-178d07aa9f08c937746ef172ce477fb22e0c9050.tar.xz
nutyx-pakxe-178d07aa9f08c937746ef172ce477fb22e0c9050.zip
linux-firmware git-1 ajout port
Diffstat (limited to 'linux-firmware/Pkgfile')
-rwxr-xr-xlinux-firmware/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/linux-firmware/Pkgfile b/linux-firmware/Pkgfile
new file mode 100755
index 000000000..3edbe50ae
--- /dev/null
+++ b/linux-firmware/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Blobs firmware pour le noyau Linux.
+# URL: http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
+# Maintainer: http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
+# Packager: piernov <piernov@piernov.org>
+# Depends on: git
+
+name=linux-firmware
+version=git
+release=1
+source=()
+
+build() {
+ mkdir -p $PKG/lib
+ if [ -d $PKGMK_SOURCE_DIR/$name/.git ]; then
+ cd $PKGMK_SOURCE_DIR/$name
+ git pull
+ else
+ cd $PKGMK_SOURCE_DIR
+ git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
+ fi
+ cp -a $PKGMK_SOURCE_DIR/$name $PKG/lib/firmware
+ rm -rf $PKG/lib/firmware/.git
+}