Browse Source

Cosmetics

master
mid-kid 8 years ago
parent
commit
86fdf07e11
  1. 6
      satellites/broadcom-wl.sat
  2. 4
      satellites/functions/compile/configure.sh
  3. 13
      satellites/hostapd.sat
  4. 4
      satellites/nxengine.sat
  5. 2
      satellites/qt5-base.sat
  6. 2
      satellites/wine.sat

6
satellites/broadcom-wl.sat

@ -2,7 +2,7 @@ name=broadcom-wl
version=6_30_223_271 version=6_30_223_271
update_url="https://aur.archlinux.org/packages/$name-dkms/" update_url="https://aur.archlinux.org/packages/$name-dkms/"
define_option "kver=$(uname -r): The kernel version we're building for." define_option "kver=$(uname -r): The kernel version we're building for"
dlextract "http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$version.tar.gz" \ dlextract "http://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-$version.tar.gz" \
'115903050c41d466161784d4c843f4f9' '115903050c41d466161784d4c843f4f9'
@ -23,7 +23,7 @@ patch -p1 -i 001-null-pointer-fix.patch
patch -p1 -i 002-rdtscl.patch patch -p1 -i 002-rdtscl.patch
patch -p1 -i 003-linux47.patch patch -p1 -i 003-linux47.patch
make KBUILD_DIR="$dir_sysroot/lib/modules/$kver/build" make KBUILD_DIR="$dir_sysroot/lib/modules/$kver/build"
install -Dm 644 "wl.ko" "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless/wl.ko" install -Dm644 -t "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless" wl.ko
install -Dm 644 "$name-dkms.conf" "$dir_install/etc/modprobe.d/$name.conf" install -Dm644 "$name-dkms.conf" "$dir_install/$dir_sysconfdir/modprobe.d/$name.conf"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: # vim:set tabstop=4 shiftwidth=4 syntax=sh et:

4
satellites/functions/compile/configure.sh

@ -1,5 +1,5 @@
define_option 'cross=: Cross compile a program to run on the specified target triplet.' define_option 'cross=: Cross compile a program to run on the specified target triplet'
define_option "build=: Explicity specify the host machine's target triplet." define_option "build=: Explicity specify the host machine's target triplet"
compile_configure() { compile_configure() {
local builddir="" local builddir=""

13
satellites/hostapd.sat

@ -2,12 +2,23 @@ name=hostapd
version=2.5 version=2.5
update_url="http://w1.fi/$name/" update_url="http://w1.fi/$name/"
define_option '!rtlxdrv: Build with support for RTL8188{C|CU|CUS} wifi chips'
dlextract "http://w1.fi/releases/$name-$version.tar.gz" \ dlextract "http://w1.fi/releases/$name-$version.tar.gz" \
'69f9cec3f76d74f402864a43e4f8624f' '69f9cec3f76d74f402864a43e4f8624f'
if option rtlxdrv; then
dlfile 'https://raw.githubusercontent.com/pritambaral/hostapd-rtl871xdrv/547005ed466bbd632cff87b706e339874025acb0/rtlxdrv.patch' \
'ca8697f0254e3444f1e3758100c4f949'
fi
header_end header_end
cd "$name-$version/$name" cd "$name-$version"
option rtlxdrv patch -p1 -i ../rtlxdrv.patch
cd "$name"
cp defconfig .config cp defconfig .config
option rtlxdrv echo CONFIG_DRIVER_RTW=y >> .config
make make
install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" "${name}_cli" install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" "${name}_cli"

4
satellites/nxengine.sat

@ -2,8 +2,8 @@ name=nxengine
version=1006 version=1006
update_url='http://nxengine.sourceforge.net/' update_url='http://nxengine.sourceforge.net/'
define_option 'dir_runtime=$HOME/.nxengine: The directory used to store the nxengine configuration and save files.' define_option 'dir_runtime=$HOME/.nxengine: The directory used to store the nxengine configuration and save files'
define_option 'console_key=`: The key used to access the debug console.' define_option 'console_key=`: The key used to access the debug console'
dlextract "http://nxengine.sourceforge.net/dl/nx-src-$version.tar.bz2" \ dlextract "http://nxengine.sourceforge.net/dl/nx-src-$version.tar.bz2" \
'cc0d1f5608bba70df86a6f5a3b4dd3bd' 'cc0d1f5608bba70df86a6f5a3b4dd3bd'

2
satellites/qt5-base.sat

@ -7,7 +7,7 @@ update_names="qt-everywhere-opensource-src-$version.tar.gz"
optional_libraries='libpng libjpeg freetype harfbuzz' optional_libraries='libpng libjpeg freetype harfbuzz'
for opt in $optional_libraries; do for opt in $optional_libraries; do
define_option "$opt: Enable support for $opt." define_option "$opt: Enable support for $opt"
done done
dlextract "http://download.qt.io/official_releases/qt/$majver/$version/submodules/qt$submodule-opensource-src-$version.tar.xz" \ dlextract "http://download.qt.io/official_releases/qt/$majver/$version/submodules/qt$submodule-opensource-src-$version.tar.xz" \

2
satellites/wine.sat

@ -6,7 +6,7 @@ version=$majver.19
update_url='https://www.winehq.org/' update_url='https://www.winehq.org/'
update_names="/announce/$version\"" update_names="/announce/$version\""
define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here.' define_option 'wine32=: On x86_64, enable 32bit wine support. Specify the 32bit libdir here'
dlextract "http://dl.winehq.org/$name/source/$majver/$name-$version.tar.bz2" \ dlextract "http://dl.winehq.org/$name/source/$majver/$name-$version.tar.bz2" \
'd9d3794d7394b9a22f7514d63f3a95f1' 'd9d3794d7394b9a22f7514d63f3a95f1'

Loading…
Cancel
Save