Browse Source

Added love and dependencies

master
mid-kid 8 years ago
parent
commit
fb5ae03ef3
  1. 2
      satellites/bam.sat
  2. 15
      satellites/libmodplug.sat
  3. 14
      satellites/love.sat
  4. 19
      satellites/openal.sat
  5. 19
      satellites/physfs.sat
  6. 1
      satellites/rt8192cu-git.sat
  7. 24
      satellites/sdl2.sat
  8. 6
      satellites/yajl.sat

2
satellites/bam.sat

@ -14,6 +14,6 @@ src/main.o: src/internal_base.h
EOF EOF
make 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: # vim:set tabstop=4 shiftwidth=4 syntax=sh et:

15
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:

14
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:

19
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:

19
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:

1
satellites/rt8192cu-git.sat

@ -13,5 +13,6 @@ cd "$name"
make KSRC="$dir_sysroot/lib/modules/$kver/build" modules 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 -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" 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: # vim:set tabstop=4 shiftwidth=4 syntax=sh et:

24
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:

6
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/' '{}' \; find . -name "CMakeLists.txt" -exec sed -i -e '/TARGET_LINK_LIBRARIES/s/yajl_s/yajl/' '{}' \;
# Fix install dirs # Fix install dirs
sed -i -e "s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \ sed -i -e "/DESTINATION/s/lib\${LIB_SUFFIX}/\"$(safe_sed "$dir_libdir")\"/" \
-e "/INSTALL(/s/share/$(safe_sed "$dir_datadir")/" src/CMakeLists.txt -e "/DESTINATION/s/share\\pkgconfig/\"$(safe_sed "$dir_datadir/pkgconfig")\"/" src/CMakeLists.txt
sed -i -e "/INSTALL(/s/bin/$(safe_sed "$dir_bindir")/" \ sed -i -e "/DESTINATION/s/bin/\"$(safe_sed "$dir_bindir")\"/" \
verify/CMakeLists.txt reformatter/CMakeLists.txt verify/CMakeLists.txt reformatter/CMakeLists.txt
compile_cmake compile_cmake

Loading…
Cancel
Save