diff options
author | piernov <piernov@piernov.servegame.org> | 2012-08-14 22:29:03 +0200 |
---|---|---|
committer | piernov <piernov@piernov.servegame.org> | 2012-08-14 22:29:03 +0200 |
commit | 178d07aa9f08c937746ef172ce477fb22e0c9050 (patch) | |
tree | 7e9ff593b1588f5ef30fbf9184e962f3b971475a /linux-firmware/Pkgfile | |
parent | 799142efbe2ad49d573f253a06fbd1baaa03ff0e (diff) | |
download | nutyx-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-x | linux-firmware/Pkgfile | 23 |
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 +} |