general: Added pkgfile2puke

This commit is contained in:
Dylan Araps 2019-05-18 18:58:12 +03:00
parent 2167ba20a3
commit 58696075e7
10 changed files with 43 additions and 6 deletions

View File

@ -31,17 +31,13 @@ pkgfile_version() {
}
pkgfile_source() {
printf '%s\n' "$source" | while IFS=' ' read -r src; do
printf '%s\n' "$src"
done > sources
printf '%s\n' "$source" | sed 's/ /\n/g' > sources
}
pkgfile_depends() {
[ "$depends" ] || return
printf '%s\n' "$depends" | while IFS=' ' read -r dep; do
printf '%s\n' "$dep"
done > depends
printf '%s\n' "$depends" | sed 's/ /\n/g' > depends
}
pkgfile_build() {

7
repo/autoconf/build Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh -e
./configure \
--prefix=/usr
make
make DESTDIR="$1" install

2
repo/autoconf/depends Normal file
View File

@ -0,0 +1,2 @@
perl
m4

1
repo/autoconf/sources Normal file
View File

@ -0,0 +1 @@
ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.gz

1
repo/autoconf/version Normal file
View File

@ -0,0 +1 @@
2.69 1

11
repo/patch/build Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-nls
make
make DESTDIR="$1" install

1
repo/patch/checksums Normal file
View File

@ -0,0 +1 @@
ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd patch-2.7.6.tar.xz

16
repo/patch/manifest Normal file
View File

@ -0,0 +1,16 @@
/var/db/puke/patch/version
/var/db/puke/patch/build
/var/db/puke/patch/checksums
/var/db/puke/patch/manifest
/var/db/puke/patch/sources
/var/db/puke/patch
/var/db/puke
/var/db
/var
/usr/bin/patch
/usr/bin
/usr/share/man/man1/patch.1
/usr/share/man/man1
/usr/share/man
/usr/share
/usr

1
repo/patch/sources Normal file
View File

@ -0,0 +1 @@
ftp://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz

1
repo/patch/version Normal file
View File

@ -0,0 +1 @@
2.7.6 1