malfs mekanizma guncelleme
This commit is contained in:
parent
1d4b32f9b0
commit
1e628a4f05
|
@ -11,8 +11,6 @@ release=1
|
||||||
source=( https://www.kernel.org/pub/software/scm/$name/$name{,-manpages,-htmldocs}-$version.tar.xz)
|
source=( https://www.kernel.org/pub/software/scm/$name/$name{,-manpages,-htmldocs}-$version.tar.xz)
|
||||||
run=(openssh)
|
run=(openssh)
|
||||||
|
|
||||||
PKGMK_GROUPS=(doc man)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
@ -24,22 +22,5 @@ cd $name-$version
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
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 {} \;
|
find $PKG -type f -name perllocal.pod -exec rm {} \;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# URL: http://www.kernel.org
|
# URL: http://www.kernel.org
|
||||||
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
# Packagers: pierre at nutyx dot org, tnut at nutyx dot org
|
||||||
|
|
||||||
|
|
||||||
PKGMK_IGNORE_UNPACK="yes"
|
PKGMK_IGNORE_UNPACK="yes"
|
||||||
PKGMK_NO_STRIP="yes"
|
PKGMK_NO_STRIP="yes"
|
||||||
PKGMK_GROUPS=(devel doc)
|
PKGMK_GROUPS=(devel doc)
|
||||||
|
@ -17,7 +18,6 @@ source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-${_version}.tar.xz
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|
||||||
bsdtar -p -o -C $SRC -xf linux-${_version}.tar.xz
|
|
||||||
|
|
||||||
cd linux-${_version}
|
cd linux-${_version}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ case `uname -m` in
|
||||||
cp $SRC/$name.config ./.config;
|
cp $SRC/$name.config ./.config;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
make menuconfig
|
# make menuconfig
|
||||||
|
|
||||||
make || make -j1
|
make || make -j1
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ do rm -rf usr/src/linux-${_version}/arch/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
bsdtar -cf \
|
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}
|
usr/src/linux-${_version}
|
||||||
|
|
||||||
rm -r usr
|
rm -r usr
|
||||||
|
@ -131,7 +131,7 @@ mv $SRC/linux-${_version}/Documentation \
|
||||||
usr/share/doc/linux-$version
|
usr/share/doc/linux-$version
|
||||||
|
|
||||||
bsdtar -cf \
|
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
|
usr/share/doc/linux-$version
|
||||||
|
|
||||||
rm -r usr
|
rm -r usr
|
||||||
|
|
|
@ -7,8 +7,7 @@ name=nfs-utils
|
||||||
version=1.3.3
|
version=1.3.3
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://downloads.sourceforge.net/nfs/$name-$version.tar.bz2
|
source=(http://downloads.sourceforge.net/nfs/$name-$version.tar.bz2)
|
||||||
exports)
|
|
||||||
run=(rpcbind)
|
run=(rpcbind)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
# Packager: alienus at nutyx dot org, tnut at nutyx dot org
|
# Packager: alienus at nutyx dot org, tnut at nutyx dot org
|
||||||
# Depends on: libtirpc
|
# Depends on: libtirpc
|
||||||
|
|
||||||
PKGMK_GROUPS=(man)
|
|
||||||
name=rpcbind
|
name=rpcbind
|
||||||
version=0.2.3
|
version=0.2.3
|
||||||
release=1
|
release=1
|
||||||
|
|
|
@ -7,7 +7,7 @@ version=2.2.52
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
build() {
|
build() {
|
||||||
cd acl-*
|
cd acl-*
|
||||||
|
|
||||||
|
@ -28,15 +28,4 @@ mkdir $PKG/lib
|
||||||
mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
|
mv -v $PKG/usr/lib/libacl.so.* $PKG/lib
|
||||||
ln -sfv ../../lib/libacl.so.1 \
|
ln -sfv ../../lib/libacl.so.1 \
|
||||||
$PKG/usr/lib/libacl.so
|
$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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ version=2.4.47
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
build() {
|
build() {
|
||||||
cd attr-$version
|
cd attr-$version
|
||||||
|
|
||||||
|
@ -24,12 +24,7 @@ chmod -v 755 $PKG/usr/lib/libattr.so
|
||||||
mkdir $PKG/lib
|
mkdir $PKG/lib
|
||||||
mv -v $PKG/usr/lib/libattr.so.* $PKG/lib
|
mv -v $PKG/usr/lib/libattr.so.* $PKG/lib
|
||||||
ln -sfv ../../lib/libattr.so.1 $PKG/usr/lib/libattr.so
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ make tooldir=/
|
||||||
make tooldir=/usr DESTDIR=$PKG install
|
make tooldir=/usr DESTDIR=$PKG install
|
||||||
|
|
||||||
rm -rf $PKG/usr/share/info/dir
|
rm -rf $PKG/usr/share/info/dir
|
||||||
|
rm $PKG/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}.1
|
||||||
mkdir $PKG/lib
|
mkdir $PKG/lib
|
||||||
for lib in libopcodes libbfd
|
for lib in libopcodes libbfd
|
||||||
do
|
do
|
||||||
|
@ -45,12 +46,3 @@ do
|
||||||
$PKG/usr/lib/$lib
|
$PKG/usr/lib/$lib
|
||||||
done
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ release=2
|
||||||
|
|
||||||
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
|
||||||
|
|
||||||
PKGMK_GROUPS=(man locale)
|
#PKGMK_GROUPS=(man locale)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -18,5 +18,6 @@ cd bison-$version
|
||||||
make
|
make
|
||||||
make check||true
|
make check||true
|
||||||
make DESTDIR=$PKG install
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ release=1
|
||||||
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
|
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
|
||||||
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
|
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel doc man)
|
#PKGMK_GROUPS=(devel doc man)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
|
@ -51,10 +51,3 @@ do
|
||||||
ln -svf bzdiff $PKG/bin/$i
|
ln -svf bzdiff $PKG/bin/$i
|
||||||
done
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -10,8 +10,6 @@ release=1
|
||||||
|
|
||||||
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
|
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel doc man)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
|
@ -46,10 +44,3 @@ ln -sv ../../lib/libcurl.so.4.4.0 \
|
||||||
$PKG/usr/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
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
|
# Maintainer: Thomas E. Dickey dickey at invisible-island dot net
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: tnut at nutyx dot org
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man)
|
|
||||||
|
|
||||||
name=dialog
|
name=dialog
|
||||||
version=1.2.20140911
|
version=1.2.20140911
|
||||||
release=1
|
release=1
|
||||||
|
@ -20,11 +18,3 @@ cd $name-1.2-20140911
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ release=1
|
||||||
|
|
||||||
source=(http://prdownloads.sourceforge.net/$name/$name-$version.tar.gz)
|
source=(http://prdownloads.sourceforge.net/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -47,12 +47,3 @@ mkdir $PKG/usr/lib
|
||||||
mv $PKG/lib/pkgconfig \
|
mv $PKG/lib/pkgconfig \
|
||||||
$PKG/usr/lib
|
$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}
|
|
||||||
}
|
|
||||||
|
|
|
@ -7,13 +7,11 @@ version=2.1.0
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
|
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
|
||||||
PKGMK_GROUPS=(devel doc man)
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,3 @@ make
|
||||||
make check
|
make check
|
||||||
make DESTDIR=$PKG install
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -33,6 +33,5 @@ EOF
|
||||||
|
|
||||||
chmod -v 755 $PKG/bin/lex
|
chmod -v 755 $PKG/bin/lex
|
||||||
|
|
||||||
rm -rf $PKG/usr/share/info/dir
|
rm -r $PKG/usr/share/{info,doc}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,13 +23,5 @@ mkdir -vp $PKG/usr/share/doc/gawk-$version
|
||||||
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} \
|
cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} \
|
||||||
$PKG/usr/share/doc/gawk-$version
|
$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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ version=5.3.0
|
||||||
release=1
|
release=1
|
||||||
|
|
||||||
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
|
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -99,11 +99,3 @@ case `uname -m` in
|
||||||
esac
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -19,12 +19,3 @@ make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/usr/share/info/dir
|
rm -rf $PKG/usr/share/info/dir
|
||||||
chmod 0755 $PKG/usr/lib/preloadable_libintl.so
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Description: The Glibc package contains the main C library.
|
# Description: The Glibc package contains the main C library.
|
||||||
# URL: https://www.gnu.org/software/libc/
|
# URL: https://www.gnu.org/software/libc/
|
||||||
# Packagers: tnut at nutyx dot org
|
# Packagers: milis
|
||||||
kernelversion=4.4
|
kernelversion=4.4
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
name=glibc
|
name=glibc
|
||||||
version=2.22
|
version=2.22
|
||||||
release=3
|
release=1
|
||||||
|
|
||||||
source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
|
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
|
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-largefile-1.patch
|
||||||
|
@ -106,10 +106,3 @@ fi
|
||||||
|
|
||||||
mkdir $PKG/etc/ld.so.conf.d
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/usr/share/info/dir
|
rm -rf $PKG/usr/share/info/dir
|
||||||
|
|
||||||
# Documentation
|
# 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 \
|
#cp doc/{isa_abi_headache,configuration} doc/*.html \
|
||||||
$PKG/usr/share/doc/gmp-${version}
|
#$PKG/usr/share/doc/gmp-${version}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,17 +20,8 @@ sed -i 's/tipc //' Makefile
|
||||||
|
|
||||||
make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
|
make SBINDIR=/sbin MANDIR=/usr/share/man INFODIR=/usr/share/info \
|
||||||
DESTDIR=$PKG
|
DESTDIR=$PKG
|
||||||
make SBINDIR=/sbin MANDIR=/usr/share/man \
|
make SBINDIR=/sbin \
|
||||||
INFODIR=/usr/share/info DESTDIR=$PKG \
|
INFODIR=/usr/share/info DESTDIR=$PKG \
|
||||||
DOCDIR=/usr/share/doc/iproute2-$version install
|
install
|
||||||
rm -rf $PKG/usr/share/info/dir
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -24,8 +24,4 @@ PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr \
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
mkdir -pv $PKG/usr/share/doc/$name-$version
|
|
||||||
cp -R -v docs/doc/* \
|
|
||||||
$PKG/usr/share/doc/$name-$version
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,16 +29,3 @@ for target in depmod insmod modinfo modprobe rmmod; do
|
||||||
done
|
done
|
||||||
ln -sv kmod $PKG/bin/lsmod
|
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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
# URL: http://people.freebsd.org/~kientzle/libarchive
|
# URL: http://people.freebsd.org/~kientzle/libarchive
|
||||||
# Maintainer: kientzle at acm dot org
|
# Maintainer: kientzle at acm dot org
|
||||||
# Packager: tnuttens at gmail dot com
|
# Packager: tnuttens at gmail dot com
|
||||||
PKGMK_GROUPS=(devel doc man)
|
|
||||||
|
|
||||||
name=libarchive
|
name=libarchive
|
||||||
version=3.1.2
|
version=3.1.2
|
||||||
|
@ -46,10 +45,3 @@ ln -sv ../../lib/libarchive.so.13.1.2 \
|
||||||
$PKG/usr/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
|
|
||||||
}
|
|
||||||
|
|
|
@ -9,8 +9,6 @@ release=1
|
||||||
|
|
||||||
source=(http://download.savannah.gnu.org/releases/libpipeline/libpipeline-$version.tar.gz)
|
source=(http://download.savannah.gnu.org/releases/libpipeline/libpipeline-$version.tar.gz)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man)
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
|
@ -8,8 +8,6 @@ release=1
|
||||||
|
|
||||||
source=(http://ftp.gnu.org/gnu/libtool/libtool-$version.tar.xz)
|
source=(http://ftp.gnu.org/gnu/libtool/libtool-$version.tar.xz)
|
||||||
|
|
||||||
PKGMK_GROUPS=()
|
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
cd libtool-*
|
cd libtool-*
|
||||||
|
|
|
@ -10,7 +10,6 @@ release=1
|
||||||
source=(http://savannah.nongnu.org/download/man-db/man-db-$version.tar.xz \
|
source=(http://savannah.nongnu.org/download/man-db/man-db-$version.tar.xz \
|
||||||
)
|
)
|
||||||
|
|
||||||
PKGMK_GROUPS=(man locale)
|
|
||||||
run=(groff less)
|
run=(groff less)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
|
|
|
@ -19,7 +19,7 @@ patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
make html
|
#make html
|
||||||
make DESTDIR=$PKG install-html
|
#make DESTDIR=$PKG install-html
|
||||||
rm -rf $PKG/usr/share/info/dir
|
#rm -rf $PKG/usr/share/info/dir
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,6 @@ release=1
|
||||||
|
|
||||||
source=(ftp://ftp.openssl.org/source/$name-$version.tar.gz)
|
source=(ftp://ftp.openssl.org/source/$name-$version.tar.gz)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man doc)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
unset MAKEFLAGS
|
unset MAKEFLAGS
|
||||||
|
|
||||||
|
@ -39,16 +37,4 @@ for file in libcrypto.pc openssl.pc libssl.pc
|
||||||
do
|
do
|
||||||
sed -i "s/lib64/lib/" $PKG/usr/lib/pkgconfig/$file
|
sed -i "s/lib64/lib/" $PKG/usr/lib/pkgconfig/$file
|
||||||
done
|
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
|
|
||||||
}
|
}
|
|
@ -8,7 +8,6 @@ release=1
|
||||||
|
|
||||||
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz )
|
source=( ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz )
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man)
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
make OPT="$CFLAGS -fPIC -DPIC" \
|
make OPT="$CFLAGS -fPIC -DPIC" \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# URL: http://pkgconfig.freedesktop.org/
|
# URL: http://pkgconfig.freedesktop.org/
|
||||||
# Maintainer: Tollef Fog Heen tfheen at err dot no
|
# Maintainer: Tollef Fog Heen tfheen at err dot no
|
||||||
# Packager: tnut at nutyx dot org
|
# Packager: tnut at nutyx dot org
|
||||||
PKGMK_GROUPS=(man doc)
|
|
||||||
|
|
||||||
name=pkg-config
|
name=pkg-config
|
||||||
version=0.29
|
version=0.29
|
||||||
|
@ -18,4 +18,5 @@ cd pkg-config-$version
|
||||||
--docdir=/usr/share/doc/pkg-config-$version
|
--docdir=/usr/share/doc/pkg-config-$version
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
rm -r $PKG/usr/share/doc
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ release=1
|
||||||
|
|
||||||
source=(http://downloads.sourceforge.net/project/$name/Production/$name-$version.tar.xz )
|
source=(http://downloads.sourceforge.net/project/$name/Production/$name-$version.tar.xz )
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -27,5 +27,6 @@ mkdir -p $PKG/usr/lib
|
||||||
|
|
||||||
mv $PKG/lib/pkgconfig \
|
mv $PKG/lib/pkgconfig \
|
||||||
$PKG/usr/lib/
|
$PKG/usr/lib/
|
||||||
|
rm -r $PKG/usr/share/doc
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ release=1
|
||||||
source=(http://ftp.gnu.org/gnu/readline/readline-$version.tar.gz
|
source=(http://ftp.gnu.org/gnu/readline/readline-$version.tar.gz
|
||||||
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-3.patch)
|
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-3.patch)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man doc)
|
#PKGMK_GROUPS=(devel man doc)
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
|
@ -44,15 +44,5 @@ $PKG/usr/lib/libreadline.so
|
||||||
|
|
||||||
ln -sfv ../../lib/libhistory.so.6 \
|
ln -sfv ../../lib/libhistory.so.6 \
|
||||||
$PKG/usr/lib/libhistory.so
|
$PKG/usr/lib/libhistory.so
|
||||||
|
rm -r $PKG/usr/share/{doc,info}
|
||||||
}
|
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,5 @@ make
|
||||||
make html
|
make html
|
||||||
make check
|
make check
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
make -C doc DESTDIR=$PKG install-html
|
rm -r $PKG/usr/share/info
|
||||||
rm -rf $PKG/usr/share/info/dir
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,9 +17,4 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/s
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/usr/share/info/dir
|
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
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,3 @@ make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
rm -rf $PKG/usr/share/info/dir
|
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
|
|
||||||
}
|
|
||||||
|
|
|
@ -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
|
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()
|
build()
|
||||||
{
|
{
|
||||||
cd util-linux-$version
|
cd util-linux-$version
|
||||||
|
@ -37,12 +35,7 @@ rm -r $PKG/usr/bin
|
||||||
|
|
||||||
mv $PKG/usr/sbin/* $PKG/sbin/
|
mv $PKG/usr/sbin/* $PKG/sbin/
|
||||||
rm -r $PKG/usr/sbin
|
rm -r $PKG/usr/sbin
|
||||||
}
|
rm -r $PKG/usr/share/{doc,bash-completion}
|
||||||
devel()
|
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
|
||||||
{
|
rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
|
||||||
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}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,14 +26,5 @@ mkdir -pv $PKG/{,usr/}lib
|
||||||
mv -v $PKG/usr/lib/liblzma.so.* \
|
mv -v $PKG/usr/lib/liblzma.so.* \
|
||||||
$PKG/lib
|
$PKG/lib
|
||||||
ln -svf ../../lib/liblzma.so.$version $PKG/usr/lib/liblzma.so
|
ln -svf ../../lib/liblzma.so.$version $PKG/usr/lib/liblzma.so
|
||||||
}
|
rm -r $PKG/usr/share/doc/
|
||||||
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
|
|
||||||
}
|
}
|
|
@ -1,15 +1,13 @@
|
||||||
# Description: The Zlib package contains compression and decompression routines used by some programs.
|
# Description: The Zlib package contains compression and decompression routines used by some programs.
|
||||||
# URL: http://www.zlib.net/
|
# URL: http://www.zlib.net/
|
||||||
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
|
# Maintainer: Jean-loup Gailly (compression), Mark Adler (decompression)
|
||||||
# Packager: pierre at nutyx dot org
|
# Packager: mahmutov
|
||||||
name=zlib
|
name=zlib
|
||||||
version=1.2.8
|
version=1.2.8
|
||||||
release=2
|
release=2
|
||||||
|
|
||||||
source=(http://www.zlib.net/zlib-$version.tar.xz)
|
source=(http://www.zlib.net/zlib-$version.tar.xz)
|
||||||
|
|
||||||
PKGMK_GROUPS=(devel man)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# Vérifier si necessaire de faire les verifs du bon fonctionnement de
|
# Vérifier si necessaire de faire les verifs du bon fonctionnement de
|
||||||
# glibc et du linker
|
# glibc et du linker
|
||||||
|
@ -46,10 +44,4 @@ mkdir -p $PKG/lib
|
||||||
mv -v $PKG/usr/lib/libz.so.* $PKG/lib
|
mv -v $PKG/usr/lib/libz.so.* $PKG/lib
|
||||||
ln -sfv ../../lib/libz.so.$version $PKG/usr/lib/libz.so
|
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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue