CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Replaced hardcoded name with
authorRyan Mullen <rmull@rmull.com>
Sun, 13 Jan 2013 04:44:21 +0000 (23:44 -0500)
committerRyan Mullen <rmull@rmull.com>
Sun, 13 Jan 2013 04:44:21 +0000 (23:44 -0500)
marvell-ipp/Pkgfile

index 620338efef797d480e40b1a4429c2eef96982cef..09a51c915f5740c900c19d1d3e6e704e253f254d 100644 (file)
@@ -13,9 +13,9 @@ build() {
 
     # Adapted from Arch ALARM marvell-ipp
 
 
     # Adapted from Arch ALARM marvell-ipp
 
-    cd packages/marvell-ipp
-    tar xf marvell-ipp_$version-0ubuntu1~ppa10.tar.gz
-    cd marvell-ipp
+    cd packages/$name
+    tar xf $name_$version-0ubuntu1~ppa10.tar.gz
+    cd $name
 
     sed -r \
         -e "s|^(PATH_GNU_BIN=).+|\1/usr/bin|" \
 
     sed -r \
         -e "s|^(PATH_GNU_BIN=).+|\1/usr/bin|" \
@@ -30,7 +30,7 @@ build() {
     cd example/misc/build/wmmx2_linux
     make -j1 -f makefile_miscGen
 
     cd example/misc/build/wmmx2_linux
     make -j1 -f makefile_miscGen
 
-    cd $SRC/packages/marvell-ipp/marvell-ipp
+    cd $SRC/packages/$name/$name
 
     mkdir -p $PKG/usr/lib
     mkdir $PKG/usr/include
 
     mkdir -p $PKG/usr/lib
     mkdir $PKG/usr/include
@@ -38,8 +38,8 @@ build() {
 
     install -Dm644 etc/99-uio.rules \
         $PKG/etc/udev/rules.d/99-uio.rules
 
     install -Dm644 etc/99-uio.rules \
         $PKG/etc/udev/rules.d/99-uio.rules
-    install -d $PKG/usr/lib $PKG/usr/include/marvell-ipp
-    install -m644 include/*.h $PKG/usr/include/marvell-ipp
+    install -d $PKG/usr/lib $PKG/usr/include/$name
+    install -m644 include/*.h $PKG/usr/include/$name
 
     find bin lib -not -type d \( -name "*.so" -o -name "*.a" \) \
         -not -path "*libcodecvmetadec.a" \
 
     find bin lib -not -type d \( -name "*.so" -o -name "*.a" \) \
         -not -path "*libcodecvmetadec.a" \