diff --git a/satellites/bam.sat b/satellites/bam.sat index b14b54e..f115f6c 100644 --- a/satellites/bam.sat +++ b/satellites/bam.sat @@ -14,6 +14,6 @@ src/main.o: src/internal_base.h EOF make -install -Dm755 "$name" "$dir_install/$dir_prefix/$dir_bindir/$name" +install -Dm755 -t "$dir_install/$dir_prefix/$dir_bindir" "$name" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/libmodplug.sat b/satellites/libmodplug.sat new file mode 100644 index 0000000..2d2b5c4 --- /dev/null +++ b/satellites/libmodplug.sat @@ -0,0 +1,15 @@ +import 'compile/configure' + +name=libmodplug +version=0.8.8.5 +update_url="https://sourceforge.net/projects/modplug-xmms/files/$name/" +update_names="/$name/$version/" + +dlextract "https://sourceforge.net/projects/modplug-xmms/files/$name/$version/$name-$version.tar.gz" \ + '5f30241db109d647781b784e62ddfaa1' +header_end + +cd "$name-$version" +compile_configure + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/love.sat b/satellites/love.sat new file mode 100644 index 0000000..e906bcd --- /dev/null +++ b/satellites/love.sat @@ -0,0 +1,14 @@ +import 'compile/configure' + +name=love +version=0.10.1 +update_url='http://love2d.org/' + +dlextract "https://bitbucket.org/rude/love/downloads/$name-$version-linux-src.tar.gz" \ + '7355507d8ac83ff75c439505527df1ae' +header_end + +cd "$name-$version" +compile_configure + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/openal.sat b/satellites/openal.sat new file mode 100644 index 0000000..de045f9 --- /dev/null +++ b/satellites/openal.sat @@ -0,0 +1,19 @@ +import 'compile/cmake' + +name=openal-soft +version=1.17.2 +update_url="https://github.com/kcat/$name/releases" + +dlextract "https://github.com/kcat/$name/archive/$name-$version.tar.gz" \ + '8b23942c4e9a2fc3485b00fd06b0ddd5' +header_end + +cd "$name-$name-$version" + +# Fix paths +sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \ + -e "/DESTINATION/s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" CMakeLists.txt + +compile_cmake -- -DSHARE_INSTALL_DIR="/$dir_prefix/$dir_datadir" + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/physfs.sat b/satellites/physfs.sat new file mode 100644 index 0000000..08adc78 --- /dev/null +++ b/satellites/physfs.sat @@ -0,0 +1,19 @@ +import 'compile/cmake' + +name=physfs +version=2.0.3 +update_url="https://www.icculus.org/$name/downloads/" + +dlextract "https://www.icculus.org/$name/downloads/$name-$version.tar.bz2" \ + 'c2c727a8a8deb623b521b52d0080f613' +header_end + +cd "$name-$version" + +# Fix paths +sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \ + -e "/DESTINATION/s/lib\${LIB_SUFFIX}/\"$(safe_sed "$dir_libdir")\"/" CMakeLists.txt + +compile_cmake -- -DPHYSFS_BUILD_STATIC=FALSE + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/rt8192cu-git.sat b/satellites/rt8192cu-git.sat index 8d3f762..ef21edd 100644 --- a/satellites/rt8192cu-git.sat +++ b/satellites/rt8192cu-git.sat @@ -13,5 +13,6 @@ cd "$name" make KSRC="$dir_sysroot/lib/modules/$kver/build" modules install -Dm644 -t "$dir_install/lib/modules/$kver/kernel/drivers/net/wireless" 8192cu.ko install -Dm644 blacklist-dkms-8192cu.conf "$dir_install/$dir_sysconfdir/modprobe.d/$name.conf" +echo 'blacklist rtl8xxxu' >> "$dir_install/$dir_sysconfdir/modprobe.d/$name.conf" # vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/sdl2.sat b/satellites/sdl2.sat new file mode 100644 index 0000000..e6ef84c --- /dev/null +++ b/satellites/sdl2.sat @@ -0,0 +1,24 @@ +# The configure script's --disable-static flag is broken. + +#import 'compile/configure' +import 'compile/cmake' + +name=SDL2 +version=2.0.4 +update_url='https://libsdl.org/download-2.0.php' + +dlextract "https://libsdl.org/release/$name-$version.tar.gz" \ + '44fc4a023349933e7f5d7a582f7b886e' +header_end + +cd "$name-$version" + +# Fix paths +sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \ + -e "/DESTINATION/s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \ + -e "/DESTINATION/s/share/$(safe_sed "$dir_datadir")/" CMakeLists.txt + +#compile_configure -- --disable-static +compile_cmake -- -DSDL_STATIC=OFF + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: diff --git a/satellites/yajl.sat b/satellites/yajl.sat index 0708a73..2530388 100644 --- a/satellites/yajl.sat +++ b/satellites/yajl.sat @@ -17,9 +17,9 @@ sed -i -e '/yajl_s/d' \ find . -name "CMakeLists.txt" -exec sed -i -e '/TARGET_LINK_LIBRARIES/s/yajl_s/yajl/' '{}' \; # Fix install dirs -sed -i -e "s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \ - -e "/INSTALL(/s/share/$(safe_sed "$dir_datadir")/" src/CMakeLists.txt -sed -i -e "/INSTALL(/s/bin/$(safe_sed "$dir_bindir")/" \ +sed -i -e "/DESTINATION/s/lib\${LIB_SUFFIX}/\"$(safe_sed "$dir_libdir")\"/" \ + -e "/DESTINATION/s/share\\pkgconfig/\"$(safe_sed "$dir_datadir/pkgconfig")\"/" src/CMakeLists.txt +sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \ verify/CMakeLists.txt reformatter/CMakeLists.txt compile_cmake