Merge branch 'master' of ssh://git.karchnu.fr:2202/WeirdOS/recipes
commit
495ad4b336
|
@ -1,13 +1,13 @@
|
||||||
name: curl
|
name: curl
|
||||||
version: 7.65.3
|
version: 7.65.3
|
||||||
release: 1
|
release: 2
|
||||||
sources: https://curl.haxx.se/download/curl-%{version}.tar.gz
|
sources: https://curl.haxx.se/download/curl-%{version}.tar.gz
|
||||||
build-dependencies: make, openssl-dev
|
build-dependencies: make, openssl-dev
|
||||||
|
|
||||||
dirname: %{name}-%{version}
|
|
||||||
@configure
|
@configure
|
||||||
cd %{dirname}
|
cd %{name}-%{version}
|
||||||
./configure \
|
./configure \
|
||||||
|
--prefix="%{prefix}" \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-unix-sockets \
|
--enable-unix-sockets \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: llvm
|
name: llvm
|
||||||
version: 8.0.1
|
version: 8.0.1
|
||||||
release: 1
|
release: 2
|
||||||
sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
|
sources: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/llvm-%{version}.src.tar.xz
|
||||||
dependencies:
|
dependencies:
|
||||||
- libffi
|
- libffi
|
||||||
|
@ -9,7 +9,7 @@ dependencies:
|
||||||
mkdir %{name}-%{version}
|
mkdir %{name}-%{version}
|
||||||
cd %{name}-%{version} && \
|
cd %{name}-%{version} && \
|
||||||
cmake ../llvm-%{version}.src \
|
cmake ../llvm-%{version}.src \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr/weirdos/%{name} \
|
-DCMAKE_INSTALL_PREFIX="%{prefix}" \
|
||||||
-DLLVM_BUILD_DOCS=OFF\
|
-DLLVM_BUILD_DOCS=OFF\
|
||||||
-DLLVM_BUILD_EXAMPLES=OFF \
|
-DLLVM_BUILD_EXAMPLES=OFF \
|
||||||
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
|
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON \
|
||||||
|
|
|
@ -2,25 +2,48 @@ name: musl
|
||||||
version: 1.1.23
|
version: 1.1.23
|
||||||
release: 3
|
release: 3
|
||||||
sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz
|
sources: https://www.musl-libc.org/releases/musl-%{version}.tar.gz
|
||||||
options:
|
|
||||||
- configure: --prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static
|
# Edit this if you somehow need to build a prefixed version of musl.
|
||||||
|
prefix: /
|
||||||
|
|
||||||
|
@configure
|
||||||
|
cd %{name}-%{version}
|
||||||
|
|
||||||
|
libdir=/lib
|
||||||
|
prefix=/usr/weirdos
|
||||||
|
if [ "%{prefix}" != "/" ]; then
|
||||||
|
prefix="%{prefix}"
|
||||||
|
libdir="%{prefix}/lib"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--prefix=$prefix \
|
||||||
|
--libdir=$libdir \
|
||||||
|
--syslibdir=$libdir \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-static
|
||||||
|
|
||||||
@install
|
@install
|
||||||
cd %{name}-%{version}
|
cd %{name}-%{version}
|
||||||
|
|
||||||
|
libdir=/lib
|
||||||
|
if [ "%{prefix}" != "/" ]; then
|
||||||
|
libdir="%{prefix}/lib"
|
||||||
|
fi
|
||||||
|
|
||||||
make DESTDIR="%{pkg}" install
|
make DESTDIR="%{pkg}" install
|
||||||
|
|
||||||
# FIXME: This’ll have to eventually be more automated.
|
# FIXME: This’ll have to eventually be more automated.
|
||||||
# FIXME: That path has to be edited on other architectures.
|
# FIXME: That path has to be edited on other architectures.
|
||||||
mkdir -p %{pkg}/etc
|
mkdir -p %{pkg}/etc
|
||||||
{
|
{
|
||||||
echo /lib
|
echo $libdir
|
||||||
echo /usr/weirdos/lib
|
echo /usr/weirdos/lib
|
||||||
echo /usr/bad/lib
|
echo /usr/bad/lib
|
||||||
echo /usr/local/lib
|
echo /usr/local/lib
|
||||||
} > %{pkg}/etc/ld-musl-x86_64.path
|
} > %{pkg}/etc/ld-musl-x86_64.path
|
||||||
|
|
||||||
for lib in libm libpthread librt libdl; do
|
for lib in libm libpthread librt libdl; do
|
||||||
ln -s /lib/libc.so "%{pkg}/lib/${lib}.so"
|
ln -s $libdir/libc.so "%{pkg}$libdir/${lib}.so"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ build-dependencies: crystal, spec-parser
|
||||||
# FIXME: bsdtar should be split out so that we depend only on it.
|
# FIXME: bsdtar should be split out so that we depend only on it.
|
||||||
# Busybox is required mostly for `wget`.
|
# Busybox is required mostly for `wget`.
|
||||||
# abuild and zsh are required for assemble-apk.
|
# abuild and zsh are required for assemble-apk.
|
||||||
dependencies: gc, libevent, pcre, libarchive, busybox, zsh, abuild
|
dependencies: gc, libevent, pcre, libarchive, busybox, zsh, abuild, gnutar
|
||||||
|
|
||||||
dirname: package
|
dirname: package
|
||||||
@configure
|
@configure
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
packager: Mickaël Bauer <mickael.bauer7@gmail.com>
|
||||||
|
name: vim
|
||||||
|
version: 8.1.1963
|
||||||
|
description: Improved vi-style text editor
|
||||||
|
url: https://www.vim.org
|
||||||
|
license: charityware
|
||||||
|
sources: https://github.com/${name}/${name}/archive/v${version} -> %{name}-%{version}.tar.gz
|
||||||
|
dependencies:
|
||||||
|
- ncurses
|
||||||
|
|
||||||
|
options:
|
||||||
|
- configure: --with-tlib=ncursesw
|
||||||
|
@install
|
||||||
|
cd %{name}-%{version}
|
||||||
|
make DESTDIR=%{pkg} install
|
||||||
|
rm %{pkg}%{prefix}/bin/xxd
|
||||||
|
|
Reference in New Issue