nghttp2
This commit is contained in:
1 parent
28dd022a5e
commit
b651fead77
3 files changed
+36
-3
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -ex
|
||||||
move_package(){
|
move_package(){
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
find -type f | grep -v "output"| grep "$(uname -m).ymp$" | sort -V | while read line ; do
|
find -type f | grep -v "output"| grep "$(uname -m).ymp$" | sort -V | while read line ; do
|
||||||
@@ -12,7 +12,7 @@ find -type f | grep ympbuild | sort -V | while read line ; do
|
|||||||
path=$(realpath $(dirname $line))
|
path=$(realpath $(dirname $line))
|
||||||
if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then
|
if ! find ./output/ -type f | grep "${name}_" | grep "$(uname -m).ymp$" 2>/dev/null ; then
|
||||||
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
||||||
ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem
|
ymp --sandbox --shared="$path" build "$path" --verbose --no-source --ignore-dependency --use=all --allow-oem || exit 1
|
||||||
move_package
|
move_package
|
||||||
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
echo -e "\033[33;1m<<= BINARY BUILD DONE:\033[;0m $line"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,14 +2,16 @@
|
|||||||
name=dash
|
name=dash
|
||||||
version=0.5.11
|
version=0.5.11
|
||||||
release=1
|
release=1
|
||||||
depends=(glibc)
|
|
||||||
url='https://salsa.debian.org/debian/dash'
|
url='https://salsa.debian.org/debian/dash'
|
||||||
description="The Debian Almquist Shell (dash) is a POSIX-compliant shell derived from ash. "
|
description="The Debian Almquist Shell (dash) is a POSIX-compliant shell derived from ash. "
|
||||||
email='parduscix@yandex.ru'
|
email='parduscix@yandex.ru'
|
||||||
maintainer='sulincix'
|
maintainer='sulincix'
|
||||||
license=('GPLv2')
|
license=('GPLv2')
|
||||||
|
depends=()
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
ver=$version+git20210903+057cd650a4ed-8
|
ver=$version+git20210903+057cd650a4ed-8
|
||||||
|
replaces=("/bin/sh")
|
||||||
source=(https://salsa.debian.org/debian/dash/-/archive/debian/$ver/dash-debian-$ver.zip)
|
source=(https://salsa.debian.org/debian/dash/-/archive/debian/$ver/dash-debian-$ver.zip)
|
||||||
md5sums=(fa7d340bd8968e10f8097667cfdd1c18)
|
md5sums=(fa7d340bd8968e10f8097667cfdd1c18)
|
||||||
group=(system.base)
|
group=(system.base)
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='nghttp2'
|
||||||
|
release='1'
|
||||||
|
version='1.51.0'
|
||||||
|
url='https://github.com/nghttp2/nghttp2'
|
||||||
|
description='Package description missing'
|
||||||
|
email=' aliriza.keskin@pardus.org.tr'
|
||||||
|
maintainer=' aliriza'
|
||||||
|
license=('MIT')
|
||||||
|
source=('https://github.com/nghttp2/nghttp2/releases/download/v1.51.0/nghttp2-1.51.0.tar.gz')
|
||||||
|
depends=( )
|
||||||
|
makedepends=( )
|
||||||
|
md5sums=('d8c534bbdd84297afa4f6576896a3d76')
|
||||||
|
arch=('x86_64')
|
||||||
|
group=(system.extra)
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user