Browse Source

Fixing yajl

master
mid-kid 8 years ago
parent
commit
6a1668bd76
  1. 3
      astronaut/astronautpkg
  2. 1
      satellites/yajl.sat

3
astronaut/astronautpkg

@ -31,4 +31,5 @@ fi
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir" [ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir"
cd "$dir_install" cd "$dir_install"
PATH=$PATH:/sbin $_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$version-$(uname -m)-astro.tgz" export PATH="$PATH:/sbin"
$_fakeroot makepkg -l y -c n "$dir_wrapper_pkgtools/$_satname-$version-$(uname -m)-astro.tgz"

1
satellites/yajl.sat

@ -14,6 +14,7 @@ cd "$name-$version"
# Don't build the static library # Don't build the static library
sed -i -e '/yajl_s/d' \ sed -i -e '/yajl_s/d' \
-e '/COMMAND ${CMAKE_COMMAND}/d' src/CMakeLists.txt -e '/COMMAND ${CMAKE_COMMAND}/d' src/CMakeLists.txt
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 "s/lib\${LIB_SUFFIX}/$(safe_sed "$dir_libdir")/" \

Loading…
Cancel
Save