malfs mekanizma guncelleme

This commit is contained in:
root 2016-03-07 14:45:49 +02:00
parent 1d4b32f9b0
commit 1e628a4f05
39 changed files with 52 additions and 274 deletions

View File

@ -11,8 +11,6 @@ release=1
source=( https://www.kernel.org/pub/software/scm/$name/$name{,-manpages,-htmldocs}-$version.tar.xz)
run=(openssh)
PKGMK_GROUPS=(doc man)
build() {
cd $name-$version
@ -24,22 +22,5 @@ cd $name-$version
make
make DESTDIR=$PKG install
mkdir -p $PKG/usr/share/{man,doc/git-$version}
cd $SRC
for i in *.txt *.html howto RelNotes technical
do
cp -a $i \
$PKG/usr/share/doc/git-$version
done
mv man* \
$PKG/usr/share/man
chown -R root:root $PKG/usr/share/{man,doc}
find $PKG/usr/share/doc/git-$version -type d -exec chmod 755 {} \;
find $PKG/usr/share/doc/git-$version -type f -exec chmod 644 {} \;
find $PKG -type f -name perllocal.pod -exec rm {} \;
}

View File

@ -2,6 +2,7 @@
# URL: http://www.kernel.org
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
PKGMK_IGNORE_UNPACK="yes"
PKGMK_NO_STRIP="yes"
PKGMK_GROUPS=(devel doc)
@ -17,7 +18,6 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_version}.tar.xz
build(){
bsdtar -p -o -C $SRC -xf linux-${_version}.tar.xz
cd linux-${_version}
@ -33,7 +33,7 @@ case `uname -m` in
cp $SRC/$name.config ./.config;
esac
make menuconfig
# make menuconfig
make || make -j1
@ -117,7 +117,7 @@ do rm -rf usr/src/linux-${_version}/arch/$i
done
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-any.mps \
$PKGMK_PACKAGE_DIR/$name.devel${PKGMK_BUILDVER}any.${PKGMK_PACKAGE_EXT} \
usr/src/linux-${_version}
rm -r usr
@ -131,7 +131,7 @@ mv $SRC/linux-${_version}/Documentation \
usr/share/doc/linux-$version
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.doc#$version-any.mps \
$PKGMK_PACKAGE_DIR/$name.doc${PKGMK_BUILDVER}any.${PKGMK_PACKAGE_EXT} \
usr/share/doc/linux-$version
rm -r usr

View File

@ -7,8 +7,7 @@ name=nfs-utils
version=1.3.3
release=1
source=(http://downloads.sourceforge.net/nfs/$name-$version.tar.bz2
exports)
source=(http://downloads.sourceforge.net/nfs/$name-$version.tar.bz2)
run=(rpcbind)
build() {

View File

@ -3,7 +3,6 @@
# Packager: alienus at nutyx dot org, tnut at nutyx dot org
# Depends on: libtirpc
PKGMK_GROUPS=(man)
name=rpcbind
version=0.2.3
release=1

View File

@ -7,7 +7,7 @@ version=2.2.52
release=1
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build() {
cd acl-*
@ -28,15 +28,4 @@ mkdir $PKG/lib
mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
ln -sfv ../../lib/libacl.so.1 \
$PKG/usr/lib/libacl.so
mkdir -p $PKG/usr/share/doc
install -v -m644 doc/*.txt \
$PKG/usr/share/doc/acl-$version
}
devel () {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib usr/include
rm -rvf usr/lib usr/include
}

View File

@ -8,7 +8,7 @@ version=2.4.47
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build() {
cd attr-$version
@ -24,12 +24,7 @@ chmod -v 755 $PKG/usr/lib/libattr.so
mkdir $PKG/lib
mv -v $PKG/usr/lib/libattr.so.* $PKG/lib
ln -sfv ../../lib/libattr.so.1 $PKG/usr/lib/libattr.so
rm -r $PKG/usr/share/man/man2
rm -r $PKG/usr/share/doc
}
devel () {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib usr/include
rm -rvf usr/lib usr/include
}

View File

@ -33,6 +33,7 @@ make tooldir=/
make tooldir=/usr DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
rm $PKG/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}.1
mkdir $PKG/lib
for lib in libopcodes libbfd
do
@ -45,12 +46,3 @@ do
$PKG/usr/lib/$lib
done
}
devel()
{
cd $PKG
bsdtar -r -f \
$PKGMK_PACKAGE_DIR/${name}.${group}#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/include usr/lib/ldscripts
rm -r usr/include \
usr/lib/ldscripts
}

View File

@ -8,7 +8,7 @@ release=2
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
PKGMK_GROUPS=(man locale)
#PKGMK_GROUPS=(man locale)
build()
{
@ -18,5 +18,6 @@ cd bison-$version
make
make check||true
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
rm -r $PKG/usr/share/info $PKG/usr/share/doc/
rm $PKG/usr/share/bison/README
}

View File

@ -10,7 +10,7 @@ release=1
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
PKGMK_GROUPS=(devel doc man)
#PKGMK_GROUPS=(devel doc man)
build() {
@ -51,10 +51,3 @@ do
ln -svf bzdiff $PKG/bin/$i
done
}
devel() {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib usr/include
rm -r usr/lib usr/include
}

View File

@ -10,8 +10,6 @@ release=1
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
PKGMK_GROUPS=(devel doc man)
build() {
cd $name-$version
./configure --prefix=/usr \
@ -46,10 +44,3 @@ ln -sv ../../lib/libcurl.so.4.4.0 \
$PKG/usr/lib/libcurl.so.4.4.0
}
devel() {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/include usr/lib/pkgconfig usr/share/aclocal
rm -r usr/include usr/lib/pkgconfig usr/share/aclocal
}

View File

@ -3,8 +3,6 @@
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
# Packager: tnut at nutyx dot org
PKGMK_GROUPS=(devel man)
name=dialog
version=1.2.20140911
release=1
@ -20,11 +18,3 @@ cd $name-1.2-20140911
make
make DESTDIR=$PKG install
}
devel() {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib
rm -r usr/lib
}

View File

@ -9,7 +9,7 @@ release=1
source=(http://prdownloads.sourceforge.net/$name/$name-$version.tar.gz)
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build()
{
@ -47,12 +47,3 @@ mkdir $PKG/usr/lib
mv $PKG/lib/pkgconfig \
$PKG/usr/lib
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/include usr/lib/pkgconfig usr/share/et usr/share/ss
rm -r usr/{include,lib/pkgconfig,share/et,share/ss}
}

View File

@ -7,13 +7,11 @@ version=2.1.0
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
PKGMK_GROUPS=(devel doc man)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -v -m755 -d $PKG/usr/share/doc/$name-$version
install -v -m644 doc/*.{html,png,css} $PKG/usr/share/doc/$name-$version
}

View File

@ -16,11 +16,3 @@ make
make check
make DESTDIR=$PKG install
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/include
rm -r usr/include
}

View File

@ -33,6 +33,5 @@ EOF
chmod -v 755 $PKG/bin/lex
rm -rf $PKG/usr/share/info/dir
rm -r $PKG/usr/share/{info,doc}
}

View File

@ -23,13 +23,5 @@ mkdir -vp $PKG/usr/share/doc/gawk-$version
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} \
$PKG/usr/share/doc/gawk-$version
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/share/awk usr/include
rm -r usr/share/awk usr/include
}

View File

@ -7,7 +7,7 @@ version=5.3.0
release=1
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build()
{
@ -99,11 +99,3 @@ case `uname -m` in
esac
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/include usr/share/gdb usr/lib/gcc usr/bin usr/libexec usr/share/gcc-$version
rm -r usr/include usr/share/gdb usr/lib/gcc usr/bin usr/libexec usr/share/gcc-$version
}

View File

@ -19,12 +19,3 @@ make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
chmod 0755 $PKG/usr/lib/preloadable_libintl.so
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/include usr/share/aclocal usr/share/gettext
rm -r usr/include usr/share/aclocal usr/share/gettext
}

View File

@ -1,11 +1,11 @@
# Description: The Glibc package contains the main C library.
# URL: https://www.gnu.org/software/libc/
# Packagers: tnut at nutyx dot org
# Packagers: milis
kernelversion=4.4
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
name=glibc
version=2.22
release=3
release=1
source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-largefile-1.patch
@ -106,10 +106,3 @@ fi
mkdir $PKG/etc/ld.so.conf.d
}
devel() {
cd $PKG
bsdtar -r -f \
$PKGMK_PACKAGE_DIR/${name}.${group}#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/include
rm -r usr/include
}

View File

@ -27,8 +27,8 @@ make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
# Documentation
mkdir -p $PKG/usr/share/doc/gmp-${version}
#mkdir -p $PKG/usr/share/doc/gmp-${version}
cp doc/{isa_abi_headache,configuration} doc/*.html \
$PKG/usr/share/doc/gmp-${version}
#cp doc/{isa_abi_headache,configuration} doc/*.html \
#$PKG/usr/share/doc/gmp-${version}
}

View File

@ -20,17 +20,8 @@ sed -i 's/tipc //' Makefile
make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
DESTDIR=$PKG
make SBINDIR=/sbin MANDIR=/usr/share/man \
make SBINDIR=/sbin \
INFODIR=/usr/share/info DESTDIR=$PKG \
DOCDIR=/usr/share/doc/iproute2-$version install
install
rm -rf $PKG/usr/share/info/dir
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/lib
rm -r usr/lib
}

View File

@ -24,8 +24,4 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr \
make
make check
make DESTDIR=$PKG install
mkdir -pv $PKG/usr/share/doc/$name-$version
cp -R -v docs/doc/* \
$PKG/usr/share/doc/$name-$version
}

View File

@ -29,16 +29,3 @@ for target in depmod insmod modinfo modprobe rmmod; do
done
ln -sv kmod $PKG/bin/lsmod
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/lib \
usr/include \
usr/share/bash-completion
rm -r usr/lib \
usr/include \
usr/share/bash-completion
}

View File

@ -2,7 +2,6 @@
# URL: http://people.freebsd.org/~kientzle/libarchive
# Maintainer: kientzle at acm dot org
# Packager: tnuttens at gmail dot com
PKGMK_GROUPS=(devel doc man)
name=libarchive
version=3.1.2
@ -46,10 +45,3 @@ ln -sv ../../lib/libarchive.so.13.1.2 \
$PKG/usr/lib/libarchive.so.13.1.2
}
devel() {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib/libarchive.a usr/lib/libarchive.la usr/include usr/lib/pkgconfig
rm -r usr/lib/libarchive.a usr/lib/libarchive.la usr/include usr/lib/pkgconfig
}

View File

@ -9,8 +9,6 @@ release=1
source=(http://download.savannah.gnu.org/releases/libpipeline/libpipeline-$version.tar.gz)
PKGMK_GROUPS=(devel man)
build()
{
cd $name-$version

View File

@ -8,8 +8,6 @@ release=1
source=(http://ftp.gnu.org/gnu/libtool/libtool-$version.tar.xz)
PKGMK_GROUPS=()
build()
{
cd libtool-*

View File

@ -10,7 +10,6 @@ release=1
source=(http://savannah.nongnu.org/download/man-db/man-db-$version.tar.xz \
)
PKGMK_GROUPS=(man locale)
run=(groff less)
build()

View File

@ -19,7 +19,7 @@ patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
make
make check
make DESTDIR=$PKG install
make html
make DESTDIR=$PKG install-html
rm -rf $PKG/usr/share/info/dir
#make html
#make DESTDIR=$PKG install-html
#rm -rf $PKG/usr/share/info/dir
}

View File

@ -7,8 +7,6 @@ release=1
source=(ftp://ftp.openssl.org/source/$name-$version.tar.gz)
PKGMK_GROUPS=(devel man doc)
build() {
unset MAKEFLAGS
@ -39,16 +37,4 @@ for file in libcrypto.pc openssl.pc libssl.pc
do
sed -i "s/lib64/lib/" $PKG/usr/lib/pkgconfig/$file
done
install -dv -m755 $PKG/usr/share/doc/openssl-$version
cp -vfr doc/* $PKG/usr/share/doc/openssl-$version
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/lib/pkgconfig usr/include
rm -r usr/lib/pkgconfig usr/include
}

View File

@ -8,7 +8,6 @@ release=1
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz )
PKGMK_GROUPS=(devel man)
build() {
cd $name-$version
make OPT="$CFLAGS -fPIC -DPIC" \

View File

@ -2,7 +2,7 @@
# URL: http://pkgconfig.freedesktop.org/
# Maintainer: Tollef Fog Heen tfheen at err dot no
# Packager: tnut at nutyx dot org
PKGMK_GROUPS=(man doc)
name=pkg-config
version=0.29
@ -18,4 +18,5 @@ cd pkg-config-$version
--docdir=/usr/share/doc/pkg-config-$version
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
}

View File

@ -7,7 +7,7 @@ release=1
source=(http://downloads.sourceforge.net/project/$name/Production/$name-$version.tar.xz )
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build()
{
@ -27,5 +27,6 @@ mkdir -p $PKG/usr/lib
mv $PKG/lib/pkgconfig \
$PKG/usr/lib/
rm -r $PKG/usr/share/doc
}

View File

@ -9,7 +9,7 @@ release=1
source=(http://ftp.gnu.org/gnu/readline/readline-$version.tar.gz
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-3.patch)
PKGMK_GROUPS=(devel man doc)
#PKGMK_GROUPS=(devel man doc)
build()
{
@ -44,15 +44,5 @@ $PKG/usr/lib/libreadline.so
ln -sfv ../../lib/libhistory.so.6 \
$PKG/usr/lib/libhistory.so
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/lib/libhistory.a usr/lib/libreadline.a usr/include usr/share/readline \
usr/lib/libhistory.so usr/lib/libreadline.so
rm -r usr/lib/libhistory.a usr/lib/libreadline.a usr/include usr/share/readline \
usr/lib/libhistory.so usr/lib/libreadline.so
rm -r $PKG/usr/share/{doc,info}
}

View File

@ -17,6 +17,5 @@ make
make html
make check
make DESTDIR=$PKG install
make -C doc DESTDIR=$PKG install-html
rm -rf $PKG/usr/share/info/dir
rm -r $PKG/usr/share/info
}

View File

@ -17,9 +17,4 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/s
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/info/dir
mkdir $PKG/usr/share/doc
make -C doc install-html docdir=$PKG/usr/share/doc/tar-$version
mkdir -p $PKG/usr/share/man/man1
}

View File

@ -16,11 +16,3 @@ make
make install DESTDIR=$PKG
rm -rf $PKG/usr/share/info/dir
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/share/texinfo
rm -r usr/share/texinfo
}

View File

@ -8,8 +8,6 @@ release=1
source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz
)
PKGMK_GROUPS=(devel doc man)
build()
{
cd util-linux-$version
@ -37,12 +35,7 @@ rm -r $PKG/usr/bin
mv $PKG/usr/sbin/* $PKG/sbin/
rm -r $PKG/usr/sbin
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/include usr/lib usr/share/bash-completion
rm -r usr/{include,lib,share/bash-completion}
rm -r $PKG/usr/share/{doc,bash-completion}
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
}

View File

@ -26,14 +26,5 @@ mkdir -pv $PKG/{,usr/}lib
mv -v $PKG/usr/lib/liblzma.so.* \
$PKG/lib
ln -svf ../../lib/liblzma.so.$version $PKG/usr/lib/liblzma.so
}
devel()
{
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.devel#$version-any.$PKGMK_PACKAGE_EXT \
usr/lib \
usr/include
rm -r usr/lib \
usr/include
rm -r $PKG/usr/share/doc/
}

View File

@ -1,15 +1,13 @@
# Description: The Zlib package contains compression and decompression routines used by some programs.
# URL: http://www.zlib.net/
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
# Packager: pierre at nutyx dot org
# Packager: mahmutov
name=zlib
version=1.2.8
release=2
source=(http://www.zlib.net/zlib-$version.tar.xz)
PKGMK_GROUPS=(devel man)
build() {
# Vérifier si necessaire de faire les verifs du bon fonctionnement de
# glibc et du linker
@ -46,10 +44,4 @@ mkdir -p $PKG/lib
mv -v $PKG/usr/lib/libz.so.* $PKG/lib
ln -sfv ../../lib/libz.so.$version $PKG/usr/lib/libz.so
}
devel () {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/${name}.devel#$version-`uname -m`.$PKGMK_PACKAGE_EXT \
usr/lib usr/include
rm -rvf usr/lib usr/include
}