convert all packages to new packaging system
This commit is contained in:
parent
4a5bf7cce5
commit
10f777ac82
17 changed files with 133 additions and 83 deletions
|
@ -1,9 +0,0 @@
|
|||
prepare:
|
||||
git clone https://sourceware.org/git/glibc.git
|
||||
cd glibc
|
||||
libc:
|
||||
$(MAKE)
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
12
libc/PACKAGE
Normal file
12
libc/PACKAGE
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://sourceware.org/git/glibc.git
|
||||
cd glibc
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
prepare:
|
||||
git clone git://git.savannah.gnu.org/libtool.git
|
||||
cd libtool
|
||||
$(MAKE):
|
||||
./configure --prefix=${PREFIX}/usr
|
||||
$(MAKE)
|
||||
$(MAKE) check
|
||||
install:
|
||||
$(MAKE) install
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
14
libtool/PACKAGE
Normal file
14
libtool/PACKAGE
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone git://git.savannah.gnu.org/libtool.git
|
||||
cd libtool
|
||||
./configure --prefix=${PREFIX}/usr
|
||||
make
|
||||
make check
|
||||
make install
|
||||
}
|
||||
pkg_install(){
|
||||
make uninstall
|
||||
}
|
11
m4/Makefile
11
m4/Makefile
|
@ -1,11 +0,0 @@
|
|||
prepare:
|
||||
git clone http://git.savannah.gnu.org/r/m4.git
|
||||
cd m4
|
||||
$(MAKE):
|
||||
export CFLAGS="$CFLAGS -static"
|
||||
./configure
|
||||
$(MAKE)
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
14
m4/PACKAGE
Normal file
14
m4/PACKAGE
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone http://git.savannah.gnu.org/r/m4.git
|
||||
cd m4
|
||||
export CFLAGS="$CFLAGS -static"
|
||||
./configure
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
prepare:
|
||||
git clone https://git.savannah.gnu.org/git/$(MAKE).git
|
||||
cd $(MAKE)
|
||||
$(MAKE):
|
||||
./bootstrap
|
||||
./build
|
||||
uninstall:
|
||||
rm -rf /usr/bin/$(MAKE)
|
13
make/PACKAGE
Normal file
13
make/PACKAGE
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://git.savannah.gnu.org/git/make.git
|
||||
cd make
|
||||
./bootstrap
|
||||
make
|
||||
make install
|
||||
}
|
||||
pkg_uninstall(){
|
||||
rm /usr/bin
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
prepare:
|
||||
git clone https://github.com/openssl/openssl.git
|
||||
cd openssl
|
||||
$(MAKE):
|
||||
./config --prefix=${PREFIX}/usr \
|
||||
--openssldir=${PREFIX}/etc/ssl \
|
||||
--libdir=lib \
|
||||
shared \
|
||||
zlib-dynamic
|
||||
$(MAKE)
|
||||
install:
|
||||
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
|
||||
$(MAKE) MANSUFFIX=ssl install
|
||||
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1d
|
||||
cp -vfr doc/* /usr/share/doc/openssl-1.1.1d
|
||||
uninstall:
|
||||
@echo 'no script for uninstall @ ssl'
|
20
openssl/PACKAGE
Normal file
20
openssl/PACKAGE
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://github.com/openssl/openssl.git
|
||||
cd openssl
|
||||
./config --prefix=${PREFIX}/usr \
|
||||
--openssldir=${PREFIX}/etc/ssl \
|
||||
--libdir=lib \
|
||||
shared \
|
||||
zlib-dynamic
|
||||
make
|
||||
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
|
||||
make MANSUFFIX=ssl install
|
||||
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1d
|
||||
cp -vfr doc/* /usr/share/doc/openssl-1.1.1d
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -1,8 +1,10 @@
|
|||
prepare:
|
||||
git clone https://cgit.freedesktop.org/xorg/xserver/
|
||||
cd xserver
|
||||
xorg:
|
||||
./configure \
|
||||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://cgit.freedesktop.org/xorg/xserver/
|
||||
cd xserver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localstatedir=/var \
|
||||
--disable-systemd-logind \
|
||||
|
@ -16,6 +18,9 @@ xorg:
|
|||
--enable-xorg \
|
||||
--with-sha1=libcrypto \
|
||||
--with-systemd-daemon=off
|
||||
$(MAKE)
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
prepare:
|
||||
git clone https://git.tukaani.org/xz.git
|
||||
cd xz
|
||||
$(MAKE):
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-nls
|
||||
$(MAKE)
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
15
xztools/PACKAGE
Normal file
15
xztools/PACKAGE
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://git.tukaani.org/xz.git
|
||||
cd xz
|
||||
./configure \
|
||||
--prefix=${PREFIX}/usr \
|
||||
--disable-nls
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -1,11 +1,11 @@
|
|||
prepare:
|
||||
git clone https://github.com/madler/zlib
|
||||
cd zlib
|
||||
$(MAKE):
|
||||
make:
|
||||
./configure
|
||||
$(MAKE)
|
||||
make
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
make install DESTDIR="${PREFIX}"
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
||||
make uninstall
|
||||
|
||||
|
|
13
zlib/PACKAGE
Normal file
13
zlib/PACKAGE
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://github.com/madler/zlib
|
||||
cd zlib
|
||||
./configure
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
|
@ -2,8 +2,8 @@ prepare:
|
|||
git clone https://github.com/zsh-users/zsh.git
|
||||
cd zsh
|
||||
zsh:
|
||||
$(MAKE)
|
||||
make
|
||||
install:
|
||||
$(MAKE) install DESTDIR="${PREFIX}"
|
||||
make install DESTDIR="${PREFIX}"
|
||||
uninstall:
|
||||
$(MAKE) uninstall
|
||||
make uninstall
|
||||
|
|
12
zsh/PACKAGE
Normal file
12
zsh/PACKAGE
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
pkg_ver="todo"
|
||||
|
||||
pkg_install(){
|
||||
git clone https://github.com/zsh-users/zsh.git
|
||||
cd zsh
|
||||
make
|
||||
make install DESTDIR="${PREFIX}"
|
||||
}
|
||||
pkg_uninstall(){
|
||||
make uninstall
|
||||
}
|
Loading…
Reference in a new issue