mid-kid
8 years ago
43 changed files with 470 additions and 139 deletions
@ -1,3 +0,0 @@ |
|||
export DEVKITPRO="%PREFIX%/opt/devkitPRO" |
|||
export DEVKITARM="$DEVKITPRO/devkitARM" |
|||
export PATH="$DEVKITARM/bin:$PATH" |
@ -1,24 +0,0 @@ |
|||
name=palemoon |
|||
version=26.3.3 |
|||
update_url="https://linux.palemoon.org/download/mainline/" |
|||
|
|||
download "http://linux.palemoon.org/files/$version/$name-$version.en-US.linux-x86_64.tar.bz2" \ |
|||
"a081f6e0e27d39d9359a70539345bf9a" |
|||
extrafile "palemoon.desktop" |
|||
header_end |
|||
|
|||
mkdir -p "$dir_install/opt" "$dir_install/$dir_prefix/bin" "$dir_install/$dir_prefix/share/applications" \ |
|||
"$dir_install/$dir_prefix/share/icons/hicolor/16x16/apps" \ |
|||
"$dir_install/$dir_prefix/share/icons/hicolor/32x32/apps" \ |
|||
"$dir_install/$dir_prefix/share/icons/hicolor/48x48/apps" \ |
|||
"$dir_install/$dir_prefix/share/icons/hicolor/128x128/apps" \ |
|||
|
|||
extract "$name-$version.en-US.linux-x86_64.tar.bz2" "$dir_install/opt" |
|||
ln -s "$dir_sysroot/opt/$name/$name" "$dir_install/$dir_prefix/bin/$name" |
|||
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default16.png" "$dir_install/$dir_prefix/share/icons/hicolor/16x16/apps/$name.png" |
|||
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default32.png" "$dir_install/$dir_prefix/share/icons/hicolor/32x32/apps/$name.png" |
|||
ln -s "$dir_sysroot/opt/$name/browser/chrome/icons/default/default48.png" "$dir_install/$dir_prefix/share/icons/hicolor/48x48/apps/$name.png" |
|||
ln -s "$dir_sysroot/opt/$name/browser/icons/mozicon128.png" "$dir_install/$dir_prefix/share/icons/hicolor/128x128/apps/$name.png" |
|||
cp "palemoon.desktop" "$dir_install/$dir_prefix/share/applications/palemoon.desktop" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,11 +0,0 @@ |
|||
name=unetbootin |
|||
version=625 |
|||
update_url="https://unetbootin.github.io/linux_download.html" |
|||
|
|||
dlfile "https://launchpad.net/$name/trunk/$version/+download/$name-linux64-$version.bin" \ |
|||
"9b917957fbc21daf3abd5273c0544d93" |
|||
header_end |
|||
|
|||
install -D $name-linux64-$version.bin "$dir_install/$dir_prefix/bin/$name" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,15 +0,0 @@ |
|||
# Using radare's own version of capstone-next, because they patch it and such. |
|||
|
|||
import "vcs/git" |
|||
import "compile/configure" |
|||
|
|||
name=radare2 |
|||
|
|||
vcs_git "https://github.com/radare/$name" |
|||
header_end |
|||
|
|||
cd "$name" |
|||
|
|||
compile_configure --with-syszip --with-sysmagic |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=confuse |
|||
version=3.0 |
|||
update_url="https://github.com/martinh/lib$name/releases" |
|||
|
|||
dlextract "https://github.com/martinh/lib$name/releases/download/v$version/$name-$version.tar.xz" \ |
|||
'c534b51a2118ed57031dc548032304a3' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure -- --disable-static |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,3 @@ |
|||
export DEVKITPRO='%DEVKITPRO%' |
|||
export DEVKITARM="$DEVKITPRO/devkitARM" |
|||
export PATH="$PATH:$DEVKITARM/bin" |
@ -0,0 +1,46 @@ |
|||
+++ Makefile
|
|||
@@ -12,6 +12,10 @@
|
|||
endif |
|||
endif |
|||
|
|||
+ifndef WITH_PULSEAUDIO
|
|||
+ WITH_PULSEAUDIO=yes
|
|||
+endif
|
|||
+
|
|||
CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare |
|||
CFLAGS+=-g |
|||
CFLAGS+=-std=gnu99 |
|||
@@ -21,8 +25,8 @@
|
|||
CFLAGS+=-Iinclude |
|||
LIBS+=-lconfuse |
|||
LIBS+=-lyajl |
|||
-LIBS+=-lpulse
|
|||
LIBS+=-lm |
|||
+LIBS+=-lpulse
|
|||
|
|||
VERSION=2.10 |
|||
GIT_VERSION="2.10 (2016-01-01)" |
|||
@@ -75,6 +79,13 @@
|
|||
LIBS:=$(filter-out -lpulse, $(LIBS)) -lpthread |
|||
endif |
|||
|
|||
+ifeq ($(WITH_PULSEAUDIO),yes)
|
|||
+CFLAGS+=-DWITH_PULSEAUDIO
|
|||
+else
|
|||
+OBJS:=$(filter-out src/pulse.o, $(OBJS))
|
|||
+LIBS:=$(filter-out -lpulse, $(LIBS))
|
|||
+endif
|
|||
+
|
|||
src/%.o: src/%.c include/i3status.h |
|||
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< |
|||
@echo " CC $<" |
|||
+++ src/print_volume.c
|
|||
@@ -60,7 +60,7 @@
|
|||
free(instance); |
|||
} |
|||
|
|||
-#ifndef __OpenBSD__
|
|||
+#if !defined(__OpenBSD__) && defined(WITH_PULSEAUDIO)
|
|||
/* Try PulseAudio first */ |
|||
|
|||
/* If the device name has the format "pulse[:N]" where N is the |
@ -0,0 +1,13 @@ |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Name=Pale Moon Web Browser |
|||
Comment=Browse the World Wide Web |
|||
Keywords=Internet;WWW;Browser;Web;Explorer |
|||
Exec=palemoon %u |
|||
Terminal=false |
|||
X-MultipleArgs=false |
|||
Type=Application |
|||
Icon=palemoon |
|||
Categories=Network;WebBrowser;Internet |
|||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall; |
|||
StartupNotify=true |
@ -1,16 +1,29 @@ |
|||
compile_cmake_base() { |
|||
mkdir -p build; cd build |
|||
cmake -DCMAKE_INSTALL_PREFIX="/$dir_prefix" -DCMAKE_BUILD_TYPE=Release $@ .. |
|||
make |
|||
} |
|||
|
|||
compile_cmake() { |
|||
compile_cmake_base $@ |
|||
make DESTDIR="$dir_install" install |
|||
} |
|||
local noinstall=false |
|||
|
|||
local OPTIND=1 |
|||
local opt |
|||
while getopts "I" opt; do case "$opt" in |
|||
I) local noinstall=true ;; |
|||
esac; done |
|||
shift $((OPTIND-1)) |
|||
|
|||
compile_cmake_installbin() { |
|||
local file="$1"; shift |
|||
compile_cmake_base $@ |
|||
install -D "$file" "$dir_install/$dir_prefix/bin/$file" |
|||
mkdir -p build; cd build |
|||
cmake .. \ |
|||
-DCMAKE_BUILD_TYPE=Release \ |
|||
-DCMAKE_INSTALL_PREFIX="/$dir_prefix" \ |
|||
-DCMAKE_INSTALL_SYSCONFDIR="$dir_sysconfdir" \ |
|||
-DCMAKE_INSTALL_BINDIR="$dir_bindir" \ |
|||
-DCMAKE_INSTALL_SBINDIR="$dir_sbindir" \ |
|||
-DCMAKE_INSTALL_LIBDIR="$dir_libdir" \ |
|||
-DCMAKE_INSTALL_LIBEXECDIR="$dir_libexecdir" \ |
|||
-DCMAKE_INSTALL_DATADIR="$dir_datadir" \ |
|||
-DCMAKE_INSTALL_MANDIR="$dir_mandir" \ |
|||
-DCMAKE_INSTALL_DOCDIR="$dir_docdir" \ |
|||
-DCMAKE_INSTALL_INFODIR="$dir_infodir" \ |
|||
-DCMAKE_INSTALL_LOCALEDIR="$dir_localedir" \ |
|||
$@ |
|||
make |
|||
[ "$noinstall" = false ] && make DESTDIR="$dir_install" install |
|||
true |
|||
} |
|||
|
@ -0,0 +1,27 @@ |
|||
name=i3 |
|||
version=4.12 |
|||
update_url='http://i3wm.org/downloads/' |
|||
|
|||
dlextract "http://i3wm.org/downloads/$name-$version.tar.bz2" \ |
|||
'308fc79ed252e1f3c8a093598e13e326' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
# Fix install directories |
|||
sed -i -e "/\$(INSTALL)/s/bin/$(safe_sed "$dir_bindir")/" \ |
|||
-e "/\$(INSTALL)/s/share/$(safe_sed "$dir_datadir")/" \ |
|||
src/i3.mk i3-msg/i3-msg.mk i3-nagbar/i3-nagbar.mk \ |
|||
i3-config-wizard/i3-config-wizard.mk i3bar/i3bar.mk \ |
|||
i3-dump-log/i3-dump-log.mk i3-input/i3-input.mk |
|||
|
|||
make |
|||
make -C man |
|||
make install \ |
|||
PREFIX="/$dir_prefix" \ |
|||
SYSCONFDIR="/$dir_sysconfdir" \ |
|||
DESTDIR="$dir_install" |
|||
|
|||
install -Dm644 -t "$dir_install/$dir_prefix/$dir_mandir/man1" man/*.1 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,26 @@ |
|||
name=i3status |
|||
version=2.10 |
|||
update_url="https://i3wm.org/$name/" |
|||
|
|||
define_option 'pulseaudio: Add pulseaudio support' |
|||
|
|||
dlextract "https://i3wm.org/$name/$name-$version.tar.bz2" \ |
|||
'1121f7c1c193c873982aba22668398ef' |
|||
extrafile "$name-$version-optional-pulseaudio.patch" |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
patch -p0 -i "../$name-$version-optional-pulseaudio.patch" |
|||
|
|||
# Fix install directories |
|||
sed -i -e "/install -m/s/bin/$(safe_sed "$dir_bindir")/" \ |
|||
-e "/install -m/s/share\/man/$(safe_sed "$dir_mandir")/" Makefile |
|||
|
|||
make WITH_PULSEAUDIO=$(option pulseaudio && echo yes || echo no) |
|||
make install \ |
|||
PREFIX="/$dir_prefix" \ |
|||
SYSCONFDIR="/$dir_sysconfdir" \ |
|||
DESTDIR="$dir_install" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,17 @@ |
|||
name=intel-ucode |
|||
version=20160714 |
|||
|
|||
dlextract "https://downloadmirror.intel.com/26156/eng/microcode-$version.tgz" \ |
|||
'84e4c0530dc38fd7b804daf894b1bdf9' |
|||
dlfile 'https://git.archlinux.org/svntogit/packages.git/plain/trunk/intel-microcode2ucode.c?h=packages/intel-ucode' \ |
|||
'580276790cfc62dfd82b76085bd1e743' |
|||
header_end |
|||
|
|||
cc $CFLAGS -o intel-microcode2ucode intel-microcode2ucode.c |
|||
./intel-microcode2ucode ./microcode.dat |
|||
|
|||
install -Dm644 microcode.bin kernel/x86/microcode/GenuineIntel.bin |
|||
echo kernel/x86/microcode/GenuineIntel.bin | cpio -o -H newc -R 0:0 > intel-ucode.img |
|||
install -Dm644 -t "$dir_install/boot/" intel-ucode.img |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,18 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=libev |
|||
version=4.22 |
|||
update_url="http://dist.schmorp.de/$name/" |
|||
|
|||
dlextract "http://dist.schmorp.de/$name/$name-$version.tar.gz" \ |
|||
'bf0007e37240103d3c2be80ca9bee3f9' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
# Don't install the libevent compatibility header, as it conflicts with the actual libevent. |
|||
sed -i -e '/include_HEADERS/s/event.h//' Makefile.in |
|||
|
|||
compile_configure |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
import 'compile/python' |
|||
|
|||
name=livestreamer |
|||
version=1.12.2 |
|||
update_url="https://pypi.python.org/pypi/$name" |
|||
|
|||
dlextract "https://pypi.python.org/packages/ee/d6/efbe3456160a2c62e3dd841c5d9504d071c94449a819148bb038b50d862a/$name-$version.tar.gz" \ |
|||
'63fb477bb3e28b7fe26b3cbba6f7937c' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_python 3 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,30 @@ |
|||
name=palemoon |
|||
version=27.0.0a2 |
|||
update_url='http://www.palemoon.org/WIP/' |
|||
|
|||
download "http://relmirror.palemoon.org/beta/tycho/$name-$version.linux-x86_64.tar.bz2" \ |
|||
'073d3c946fc75b48443be6ec7a48685b' |
|||
extrafile "$name.desktop" |
|||
header_end |
|||
|
|||
# Install files |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_libdir" |
|||
extract "$name-$version.linux-x86_64.tar.bz2" "$dir_install/$dir_prefix/$dir_libdir/" |
|||
|
|||
# Install executable |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_bindir" |
|||
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/$name" "$dir_install/$dir_prefix/$dir_bindir/$name" |
|||
|
|||
# Install icons |
|||
for x in 16 32 48; do |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/${x}x$x/apps" |
|||
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/browser/chrome/icons/default/default$x.png" "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/${x}x$x/apps/$name.png" |
|||
done |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/128x128/apps" |
|||
ln -s "$dir_sysroot/$dir_prefix/$dir_libdir/$name/browser/icons/mozicon128.png" "$dir_install/$dir_prefix/$dir_datadir/icons/hicolor/128x128/apps/$name.png" |
|||
|
|||
# Install desktop file |
|||
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/applications" |
|||
cp "$name.desktop" "$dir_install/$dir_prefix/share/applications/$name.desktop" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,12 @@ |
|||
name=uBlock |
|||
version=1.8.4 |
|||
update_url="https://github.com/gorhill/$name/releases" |
|||
update_names="/download/$version/" |
|||
|
|||
dlfile "https://github.com/gorhill/$name/releases/download/$version/${name}0.firefox.xpi" \ |
|||
'67cb1a423327183a326d64214d3b0882' |
|||
header_end |
|||
|
|||
install -Dm755 "${name}0.firefox.xpi" "$dir_install/$dir_prefix/$dir_libdir/palemoon/browser/extensions/${name}0@raymondhill.net.xpi" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,12 @@ |
|||
name=uMatrix |
|||
version=0.9.3.6 |
|||
update_url="https://github.com/gorhill/$name/releases" |
|||
update_names="/download/$version/" |
|||
|
|||
dlfile "https://github.com/gorhill/$name/releases/download/$version/$name.firefox.xpi" \ |
|||
'88e94db05a63c015927624875ed7655d' |
|||
header_end |
|||
|
|||
install -Dm755 "$name.firefox.xpi" "$dir_install/$dir_prefix/$dir_libdir/palemoon/browser/extensions/$name@raymondhill.net.xpi" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,11 +1,11 @@ |
|||
import "compile/configure" |
|||
import 'compile/configure' |
|||
|
|||
name=pdnsd |
|||
version=1.2.9a |
|||
update_url="http://members.home.nl/p.a.rombouts/$name/dl.html" |
|||
|
|||
dlextract "http://members.home.nl/p.a.rombouts/$name/releases/$name-$version-par.tar.gz" \ |
|||
"2f3e705d59a0f9308ad9504b24400769" |
|||
'2f3e705d59a0f9308ad9504b24400769' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
@ -0,0 +1,14 @@ |
|||
import 'compile/python' |
|||
|
|||
name=requests |
|||
version=2.11.0 |
|||
update_url="https://github.com/kennethreitz/$name/releases" |
|||
|
|||
dlextract "https://github.com/kennethreitz/$name/archive/v$version.tar.gz" \ |
|||
'09de9d563cd43ee28a3c55fc308c71f0' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_python 3 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,15 +1,19 @@ |
|||
import 'compile/python' |
|||
|
|||
name=setuptools |
|||
version=25.1.0 |
|||
version=25.2.0 |
|||
update_url="https://pypi.python.org/pypi/$name" |
|||
update_names="$name-$version.tar.gz#md5=" |
|||
|
|||
dlextract "https://pypi.python.org/packages/17/ed/ea984f05dd29e7a1ffdee0eba8335b5c73903e2ca10915fbdb6e8c5084c7/$name-$version.tar.gz" \ |
|||
'a4814dead37e74a86883c66f7d420d73' |
|||
dlextract "https://pypi.python.org/packages/9f/32/81c324675725d78e7f6da777483a3453611a427db0145dfb878940469692/$name-$version.tar.gz" \ |
|||
'a0dbb65889c46214c691f6c516cf959c' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
# Don't install the regular easy_install, as it conflicts with python 2 |
|||
sed -i -e '/easy_install =/d' setup.py |
|||
|
|||
compile_python 3 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
|||
|
@ -0,0 +1,17 @@ |
|||
import 'compile/qt' |
|||
|
|||
name=qt5 |
|||
submodule=webkit |
|||
majver=5.7 |
|||
version=$majver.0 |
|||
update_url='https://www.qt.io/download-open-source/' |
|||
update_names="qt-everywhere-opensource-src-$version.tar.gz" |
|||
|
|||
dlextract "http://download.qt.io/community_releases/$majver/$version/qt$submodule-opensource-src-$version.tar.xz" \ |
|||
'9379b8829639645c184fa63532035098' |
|||
header_end |
|||
|
|||
cd "qt$submodule-opensource-src-$version" |
|||
compile_qt 5 |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
# Build with the included version of capstone due to it using a newer version and includes patches for it. |
|||
|
|||
import 'vcs/git' |
|||
import 'compile/configure' |
|||
|
|||
name=radare2 |
|||
|
|||
vcs_git "https://github.com/radare/$name" |
|||
header_end |
|||
|
|||
cd "$name" |
|||
compile_configure -- --with-syszip --with-sysmagic |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=rofi |
|||
version=1.2.0 |
|||
update_url="https://github.com/DaveDavenport/$name/releases" |
|||
|
|||
dlextract "https://github.com/DaveDavenport/$name/releases/download/$version/$name-$version.tar.xz" \ |
|||
'0d02312dc3c4e74898a398de4daf4022' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -1,14 +1,16 @@ |
|||
import "compile/configure" |
|||
import 'compile/configure' |
|||
|
|||
name=rxvt-unicode |
|||
version=9.22 |
|||
update_url="http://dist.schmorp.de/$name/" |
|||
|
|||
dlextract "http://dist.schmorp.de/$name/$name-$version.tar.bz2" \ |
|||
"93782dec27494eb079467dacf6e48185" |
|||
'93782dec27494eb079467dacf6e48185' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure --enable-everything --enable-256-color |
|||
export TERMINFO="$dir_install/$dir_prefix/$dir_datadir/terminfo" |
|||
mkdir -p "$TERMINFO" |
|||
compile_configure -- --enable-everything --enable-256-color |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,18 @@ |
|||
name=TLP |
|||
version=0.8 |
|||
update_url="https://github.com/linrunner/$name/releases" |
|||
update_names="/archive/$version.tar.gz" |
|||
|
|||
dlextract "https://github.com/linrunner/$name/archive/$version.tar.gz" \ |
|||
'd53ef993ce96ccff904d6caad1f14006' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
make install-tlp \ |
|||
TLP_LIBDIR="/$dir_prefix/$dir_libdir" \ |
|||
TLP_SBIN="/$dir_prefix/$dir_sbindir" \ |
|||
TLP_BIN="/$dir_prefix/$dir_bindir" \ |
|||
TLP_NO_INIT=1 \ |
|||
DESTDIR="$dir_install" |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,14 @@ |
|||
import 'compile/configure' |
|||
|
|||
name=xcb-util-xrm |
|||
version=1.0 |
|||
update_url="https://github.com/Airblader/$name/releases" |
|||
|
|||
dlextract "https://github.com/Airblader/$name/releases/download/v$version/$name-$version.tar.bz2" \ |
|||
'31b5074f47d8072a81d2ffd1dae3ad57' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
compile_configure |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
@ -0,0 +1,22 @@ |
|||
import 'compile/cmake' |
|||
|
|||
name=yajl |
|||
version=2.1.0 |
|||
update_url="https://github.com/lloyd/$name/releases" |
|||
update_names="/archive/$version.tar.gz" |
|||
|
|||
dlextract "https://github.com/lloyd/$name/archive/$version.tar.gz" \ |
|||
'6887e0ed7479d2549761a4d284d3ecb0' |
|||
header_end |
|||
|
|||
cd "$name-$version" |
|||
|
|||
# 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")/" \ |
|||
verify/CMakeLists.txt reformatter/CMakeLists.txt |
|||
|
|||
compile_cmake |
|||
|
|||
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: |
Loading…
Reference in new issue