talimat-temeş

This commit is contained in:
milisbir 2017-10-28 15:15:02 +03:00
parent 58a0eeaf14
commit 0ec82b4e52
80 changed files with 469 additions and 458 deletions

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=acl
version=2.2.52
release=1
isim=acl
surum=2.2.52
devir=1
source=( http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
kaynak=( http://download.savannah.gnu.org/releases/$isim/$isim-$surum.src.tar.gz)
derle() {
cd acl-*

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=attr
version=2.4.47
release=1
isim=attr
surum=2.4.47
devir=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.src.tar.gz)
kaynak=(http://download.savannah.gnu.org/releases/$isim/$isim-$surum.src.tar.gz)
derle() {
cd attr-$version
cd attr-$surum
sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=autoconf
version=2.69
release=1
isim=autoconf
surum=2.69
devir=1
source=(http://ftp.gnu.org/gnu/autoconf/autoconf-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/autoconf/autoconf-$surum.tar.xz)
derle()
{
cd autoconf-$version
cd autoconf-$surum
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=automake
version=1.15
release=2
isim=automake
surum=1.15
devir=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
derle() {
cd automake-$version
cd automake-$surum
sed -i 's:/\\\${:/\\\$\\{:' bin/automake.in
./configure --prefix=/usr \
--docdir=$PKG/usr/share/doc/automake-$version
--docdir=$PKG/usr/share/doc/automake-$surum
make
make prefix=$PKG/usr install
rm -rf $PKG/usr/share/info/dir

View File

@ -3,19 +3,19 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=bash
version=4.3.30
release=3
isim=bash
surum=4.3.30
devir=3
source=(http://ftp.gnu.org/gnu/bash/bash-$version.tar.gz
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-2.patch)
kaynak=(http://ftp.gnu.org/gnu/bash/bash-$surum.tar.gz
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-upstream_fixes-2.patch)
derle()
{
cd bash-$version
patch -Np1 -i ../$name-$version-upstream_fixes-2.patch
cd bash-$surum
patch -Np1 -i ../$isim-$surum-upstream_fixes-2.patch
./configure --prefix=/usr --bindir=/bin \
--htmldir=/usr/share/doc/bash-$version --without-bash-malloc \
--htmldir=/usr/share/doc/bash-$surum --without-bash-malloc \
--with-installed-readline
make

11
talimatname/temel/bbb Normal file
View File

@ -0,0 +1,11 @@
grep -rli 'isim=' * | xargs -i@ sed -i 's/isim=/isim=/g' @
grep -rli '$isim' * | xargs -i@ sed -i 's/$isim/$isim/g' @
grep -rli '${isim}' * | xargs -i@ sed -i 's/${isim}/${isim}/g' @
grep -rli 'surum=' * | xargs -i@ sed -i 's/surum=/surum=/g' @
grep -rli '$surum' * | xargs -i@ sed -i 's/$surum/$surum/g' @
grep -rli '${surum}' * | xargs -i@ sed -i 's/${surum}/${surum}/g' @
grep -rli '${surum%.*}/g' @
grep -rli 'devir=' * | xargs -i@ sed -i 's/devir=/devir=/g' @
grep -rli '$devir' * | xargs -i@ sed -i 's/$devir/$devir/g' @
grep -rli '${devir}' * | xargs -i@ sed -i 's/${devir}/${devir}/g' @
grep -rli 'kaynak=' * | xargs -i@ sed -i 's/kaynak=/kaynak=/g' @

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=bc
version=1.06.95
release=1
isim=bc
surum=1.06.95
devir=1
source=(http://alpha.gnu.org/gnu/$name/$name-$version.tar.bz2
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-memory_leak-1.patch)
kaynak=(http://alpha.gnu.org/gnu/$isim/$isim-$surum.tar.bz2
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-memory_leak-1.patch)
derle() {
cd $name-$version
patch -Np1 -i ../$name-$version-memory_leak-1.patch
cd $isim-$surum
patch -Np1 -i ../$isim-$surum-memory_leak-1.patch
./configure --prefix=/usr --bindir=/bin \
--with-readline \
--mandir=/usr/share/man \

View File

@ -3,19 +3,19 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=binutils
version=2.26
release=3
isim=binutils
surum=2.26
devir=3
source=(http://ftp.gnu.org/gnu/binutils/binutils-$version.tar.bz2
http://www.linuxfromscratch.org/patches/lfs/development/binutils-$version-upstream_fix-1.patch
http://www.linuxfromscratch.org/patches/lfs/development/binutils-$version-upstream_fix-2.patch)
kaynak=(http://ftp.gnu.org/gnu/binutils/binutils-$surum.tar.bz2
http://www.linuxfromscratch.org/patches/lfs/development/binutils-$surum-upstream_fix-1.patch
http://www.linuxfromscratch.org/patches/lfs/development/binutils-$surum-upstream_fix-2.patch)
derle() {
cd binutils-$version
cd binutils-$surum
patch -Np1 -i ../binutils-$version-upstream_fix-1.patch
patch -Np1 -i ../binutils-$version-upstream_fix-2.patch
patch -Np1 -i ../binutils-$surum-upstream_fix-1.patch
patch -Np1 -i ../binutils-$surum-upstream_fix-2.patch
mkdir -v build
cd build
@ -38,12 +38,12 @@ derle() {
mkdir $PKG/lib
for lib in libopcodes libbfd
do
mv $PKG/usr/lib/$lib-$version.20160125.so \
$PKG/lib/$lib-$version.so
ln -s $lib-$version.so $PKG/lib/$lib
ln -s ../../lib/$lib-$version.20160125.so \
$PKG/usr/lib/$lib-$version.so
ln -s ../../lib/$lib-$version.so \
mv $PKG/usr/lib/$lib-$surum.20160125.so \
$PKG/lib/$lib-$surum.so
ln -s $lib-$surum.so $PKG/lib/$lib
ln -s ../../lib/$lib-$surum.20160125.so \
$PKG/usr/lib/$lib-$surum.so
ln -s ../../lib/$lib-$surum.so \
$PKG/usr/lib/$lib
done
}

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=bison
version=3.0.4
release=2
isim=bison
surum=3.0.4
devir=2
source=(http://ftp.gnu.org/gnu/bison/bison-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/bison/bison-$surum.tar.xz)
derle(){
cd bison-$version
cd bison-$surum
./configure --prefix=/usr \
--docdir=/usr/share/doc/$name-$version
--docdir=/usr/share/doc/$isim-$surum
make
make check||true
make DESTDIR=$PKG install

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=bzip2
version=1.0.6
release=1
isim=bzip2
surum=1.0.6
devir=1
source=(http://www.bzip.org/$version/bzip2-$version.tar.gz \
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$version-install_docs-1.patch)
kaynak=(http://www.bzip.org/$surum/bzip2-$surum.tar.gz \
http://www.linuxfromscratch.org/patches/lfs/development/bzip2-$surum-install_docs-1.patch)
derle() {
cd bzip2-$version
cd bzip2-$surum
patch -Np1 -i ../bzip2-$version-install_docs-1.patch
patch -Np1 -i ../bzip2-$surum-install_docs-1.patch
sed -i 's@\(ln -s -f \)/bin/@\1@' Makefile
sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=ca-certificates
version=20160110
release=1
isim=ca-certificates
surum=20160110
devir=1
source=(http://downloads.nutyx.org/files/$name-$version.tar.gz)
kaynak=(http://downloads.nutyx.org/files/$isim-$surum.tar.gz)
derle() {

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=coreutils
version=8.25
release=2
isim=coreutils
surum=8.25
devir=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-i18n-2.patch)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-i18n-2.patch)
derle() {
cd $name-$version
cd $isim-$surum
patch -Np1 -i ../$name-$version-i18n-2.patch
patch -Np1 -i ../$isim-$surum-i18n-2.patch
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr \
--libexecdir=/lib --bindir=/bin --sbindir=/sbin \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=cpio
version=2.11
release=1
isim=cpio
surum=2.11
devir=1
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
kaynak=( http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.bz2)
derle() {
cd $name-$version
cd $isim-$surum
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure \
--prefix=/usr \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=curl
version=7.47.1
release=1
isim=curl
surum=7.47.1
devir=1
source=(http://curl.haxx.se/download/$name-$version.tar.lzma)
kaynak=(http://curl.haxx.se/download/$isim-$surum.tar.lzma)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--with-ca-path=/etc/ssl/certs \
@ -23,9 +23,9 @@ derle() {
-o -name \*.3 \) \
-exec rm {} \;
install -v -d -m755 $PKG/usr/share/doc/curl-$version
install -v -d -m755 $PKG/usr/share/doc/curl-$surum
cp -v -R docs/* \
$PKG/usr/share/doc/curl-$version
$PKG/usr/share/doc/curl-$surum
# reorganise the libs
mkdir $PKG/lib

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=dhcpcd
version=6.10.1
release=1
isim=dhcpcd
surum=6.10.1
devir=1
source=(http://roy.marples.name/downloads/$name/$name-$version.tar.xz)
kaynak=(http://roy.marples.name/downloads/$isim/$isim-$surum.tar.xz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix= \
--libexecdir=/lib/dhcpcd \
--dbdir=/var/tmp

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=dialog
version=1.2.20140911
release=1
isim=dialog
surum=1.2.20140911
devir=1
source=(ftp://dickey.his.com/dialog/$name-1.2-20140911.tgz)
kaynak=(ftp://dickey.his.com/dialog/$isim-1.2-20140911.tgz)
derle() {
cd $name-1.2-20140911
cd $isim-1.2-20140911
./configure --prefix=/usr \
--enable-nls --bindir=/bin \
--with-ncursesw \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=diffutils
version=3.3
release=1
isim=diffutils
surum=3.3
devir=1
source=( http://ftp.gnu.org/gnu/$name/diffutils-$version.tar.xz )
kaynak=( http://ftp.gnu.org/gnu/$isim/diffutils-$surum.tar.xz )
derle() {
cd diffutils-$version
cd diffutils-$surum
sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in
./configure --prefix=/usr \
--bindir=/bin

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=e2fsprogs
version=1.42.13
release=1
isim=e2fsprogs
surum=1.42.13
devir=1
source=(http://prdownloads.sourceforge.net/$name/$name-$version.tar.gz)
kaynak=(http://prdownloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
sed -e '/int.*old_desc_blocks/s/int/blk64_t/' \
-e '/if (old_desc_blocks/s/super->s_first_meta_bg/desc_blocks/' \

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=eudev
version=3.1.5
release=1
isim=eudev
surum=3.1.5
devir=1
source=(http://dev.gentoo.org/~blueness/eudev/$name-$version.tar.gz
kaynak=(http://dev.gentoo.org/~blueness/eudev/$isim-$surum.tar.gz
http://anduin.linuxfromscratch.org/sources/other/udev-lfs-20140408.tar.bz2)
derle() {
cd $name-$version
cd $isim-$surum
sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl
if [ -d /tools ];then

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=expat
version=2.1.0
release=1
isim=expat
surum=2.1.0
devir=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=file
version=5.25
release=1
isim=file
surum=5.25
devir=1
source=(ftp://ftp.astron.com/pub/file/file-$version.tar.gz)
kaynak=(ftp://ftp.astron.com/pub/file/file-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr
make
make check

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=findutils
version=4.6.0
release=1
isim=findutils
surum=4.6.0
devir=1
source=(http://ftp.gnu.org/gnu/findutils/findutils-$version.tar.gz)
kaynak=(http://ftp.gnu.org/gnu/findutils/findutils-$surum.tar.gz)
derle()
{
cd findutils-$version
cd findutils-$surum
./configure --prefix=/usr \
--libexecdir=/lib/findutils \
--localstatedir=/var/lib/locate \

View File

@ -3,19 +3,19 @@
# Paketçi: milisarge
# Gerekler:
name=flex
version=2.5.39
release=1
isim=flex
surum=2.5.39
devir=1
source=(http://prdownloads.sourceforge.net/flex/flex-$version.tar.xz)
kaynak=(http://prdownloads.sourceforge.net/flex/flex-$surum.tar.xz)
derle() {
cd flex-$version
cd flex-$surum
sed -i -e '/test-bison/d' tests/Makefile.in
./configure --prefix=/usr \
--libdir=/lib --bindir=/bin --sbindir=/sbin \
--docdir=/usr/share/doc/flex-$version
--docdir=/usr/share/doc/flex-$surum
make
make -k check||true

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=gawk
version=4.1.3
release=1
isim=gawk
surum=4.1.3
devir=1
source=(http://ftp.gnu.org/gnu/gawk/gawk-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/gawk/gawk-$surum.tar.xz)
derle() {
cd gawk-$version
cd gawk-$surum
./configure --prefix=/usr
make
# Some checks fails

View File

@ -3,21 +3,21 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=gcc
version=5.3.0
release=1
isim=gcc
surum=5.3.0
devir=1
source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2)
kaynak=(http://ftp.gnu.org/gnu/gcc/gcc-$surum/gcc-$surum.tar.bz2)
derle()
{
cd gcc-$version
cd gcc-$surum
mkdir -v ../gcc-build
cd ../gcc-build
SED=sed \
../gcc-$version/configure --prefix=/usr \
../gcc-$surum/configure --prefix=/usr \
--enable-languages=c,c++,objc,fortran \
--disable-multilib --disable-bootstrap --with-system-zlib
@ -41,13 +41,13 @@ case `uname -m` in
$PKG/usr/lib/{libstdc++.la,libsupc++.la}
mv -v $PKG/usr/lib/*gdb.py \
$PKG/usr/share/gdb/auto-load/usr/lib
ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/$version/liblto_plugin.so;;
ln -sfv ../../libexec/gcc/i686-pc-linux-gnu/$surum/liblto_plugin.so;;
x86_64)
sed -i "s|-L$SRC[^ ]* ||g" \
$PKG/usr/lib64/{libstdc++.la,libsupc++.la}
mv -v $PKG/usr/lib64/*gdb.py \
$PKG/usr/share/gdb/auto-load/usr/lib
ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/$version/liblto_plugin.so;;
ln -sfv ../../libexec/gcc/x86_64-unknown-linux-gnu/$surum/liblto_plugin.so;;
esac
rm -rf $PKG/usr/share/info/dir

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=gdbm
version=1.11
release=1
isim=gdbm
surum=1.11
devir=1
source=(http://ftp.gnu.org/gnu/gdbm/gdbm-$version.tar.gz)
kaynak=(http://ftp.gnu.org/gnu/gdbm/gdbm-$surum.tar.gz)
derle() {
cd gdbm-$version
cd gdbm-$surum
./configure --prefix=/usr --libdir=/lib \
--bindir=/bin --enable-libgdbm-compat

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge
# Gerekler:
name=gettext
version=0.19.7
release=1
isim=gettext
surum=0.19.7
devir=1
source=(http://ftp.gnu.org/gnu/gettext/gettext-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/gettext/gettext-$surum.tar.xz)
derle()
{
cd gettext-$version
cd gettext-$surum
./configure --prefix=/usr \
--docdir=/usr/share/doc/gettext-$version
--docdir=/usr/share/doc/gettext-$surum
make
make check||true
make DESTDIR=$PKG install

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
kernelversion=4.4
name=glibc
version=2.23
release=1
kernelsurum=4.4
isim=glibc
surum=2.23
devir=1
source=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$name/glibc-$version-fhs-1.patch
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz glibc.locales.supported )
kaynak=(http://www.kernel.org/pub/linux/kernel/v4.x/linux-$kernelversion.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$isim/glibc-$surum-fhs-1.patch
http://ftp.gnu.org/gnu/glibc/glibc-$surum.tar.xz glibc.locales.supported )
derle() {
@ -23,14 +23,14 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
mkdir -p $PKG/usr/include
cp -rv dest/include/* $PKG/usr/include
cd ../glibc-$version
cd ../glibc-$surum
patch -Np1 -i ../glibc-$version-fhs-1.patch
patch -Np1 -i ../glibc-$surum-fhs-1.patch
mkdir -v ../glibc-build
cd ../glibc-build
../glibc-$version/configure --prefix=/usr \
../glibc-$surum/configure --prefix=/usr \
--disable-profile \
--enable-kernel=2.6.32 \
--enable-obsolete-rpc
@ -44,7 +44,7 @@ make install_root=$PKG install
rm -rf $PKG/usr/share/info/dir
mkdir -p $PKG/etc
cp -v ../glibc-$version/nscd/nscd.conf $PKG/etc/nscd.conf
cp -v ../glibc-$surum/nscd/nscd.conf $PKG/etc/nscd.conf
mkdir -pv $PKG/var/cache/nscd
touch $PKG/etc/ld.so.conf
@ -52,7 +52,7 @@ touch $PKG/etc/ld.so.conf
mkdir -pv $PKG/usr/lib/locale
cp $SRC/glibc.locales.supported \
../glibc-$version/localedata/SUPPORTED
../glibc-$surum/localedata/SUPPORTED
make install_root=$PKG localedata/install-locales

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=gmp
version=6.1.0
release=1
isim=gmp
surum=6.1.0
devir=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
derle() {
cd gmp-$version
cd gmp-$surum
case `uname -m` in
i?86)
ABI=32 ./configure --build=i686-pc-linux-gnu \
@ -27,8 +27,8 @@ derle() {
rm -rf $PKG/usr/share/info/dir
# Documentation
#mkdir -p $PKG/usr/share/doc/gmp-${version}
#mkdir -p $PKG/usr/share/doc/gmp-${surum}
#cp doc/{isa_abi_headache,configuration} doc/*.html \
#$PKG/usr/share/doc/gmp-${version}
#$PKG/usr/share/doc/gmp-${surum}
}

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge
# Gerekler:
name=gperf
version=3.0.4
release=1
isim=gperf
surum=3.0.4
devir=1
source=(ftp://ftp.sunet.se/pub/gnu/$name/$name-$version.tar.gz)
kaynak=(ftp://ftp.sunet.se/pub/gnu/$isim/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--docdir=/usr/share/doc/$name-$version
--docdir=/usr/share/doc/$isim-$surum
make
make DESTDIR=$PKG install
}

View File

@ -3,18 +3,18 @@
# Paketçi: milisarge
# Gerekler:
name=gpm
version=1.20.7
release=2
isim=gpm
surum=1.20.7
devir=2
source=(http://www.nico.schottelius.org/software/$name/archives/$name-$version.tar.bz2)
kaynak=(http://www.nico.schottelius.org/software/$isim/archives/$isim-$surum.tar.bz2)
derle() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd $name-$version
cd $isim-$surum
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc \

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=grep
version=2.23
release=1
isim=grep
surum=2.23
devir=1
source=(http://ftp.gnu.org/gnu/grep/grep-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/grep/grep-$surum.tar.xz)
derle()
{
cd grep-$version
cd grep-$surum
./configure --prefix=/usr --bindir=/bin
make

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=groff
version=1.22.3
release=1
isim=groff
surum=1.22.3
devir=1
source=(http://ftp.gnu.org/gnu/groff/groff-$version.tar.gz)
kaynak=(http://ftp.gnu.org/gnu/groff/groff-$surum.tar.gz)
derle()
{
cd groff-$version
cd groff-$surum
PAGE="A4" ./configure --prefix=/usr

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=gzip
version=1.6
release=1
isim=gzip
surum=1.6
devir=1
source=(http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/gzip/gzip-$surum.tar.xz)
derle()
{
cd gzip-$version
cd gzip-$surum
./configure --prefix=/usr \
--bindir=/bin --libdir=/lib
make

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=iana-etc
version=2.30
release=1
isim=iana-etc
surum=2.30
devir=1
source=(http://sethwklein.net/iana-etc-2.30.tar.bz2)
kaynak=(http://sethwklein.net/iana-etc-2.30.tar.bz2)
derle()
{
cd iana-etc-$version
cd iana-etc-$surum
make

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=inetutils
version=1.9.4
release=1
isim=inetutils
surum=1.9.4
devir=1
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/inetutils/inetutils-$surum.tar.xz)
derle()
{
cd inetutils-$version
cd inetutils-$surum
./configure --prefix=/usr \
-libexecdir=/sbin \

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=iproute2
version=4.4.0
release=1
isim=iproute2
surum=4.4.0
devir=1
source=(http://www.kernel.org/pub/linux/utils/net/$name/iproute2-$version.tar.xz)
kaynak=(http://www.kernel.org/pub/linux/utils/net/$isim/iproute2-$surum.tar.xz)
derle()
{
cd iproute2-$version
cd iproute2-$surum
sed -i '/^TARGETS/s@arpd@@g' misc/Makefile
sed -i /ARPD/d Makefile
sed -i 's/arpd.8//' man/man8/Makefile

View File

@ -3,18 +3,18 @@
# Paketçi: milisarge
# Gerekler:
name=kbd
version=2.0.3
release=2
isim=kbd
surum=2.0.3
devir=2
source=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$version.tar.xz \
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-backspace-1.patch)
kaynak=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$surum.tar.xz \
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-backspace-1.patch)
derle()
{
cd kbd-$version
cd kbd-$surum
patch -Np1 -i ../$name-$version-backspace-1.patch
patch -Np1 -i ../$isim-$surum-backspace-1.patch
sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=kmod
version=22
release=1
isim=kmod
surum=22
devir=1
source=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$version.tar.xz )
kaynak=(http://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$surum.tar.xz )
derle()
{
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=less
version=458
release=1
isim=less
surum=458
devir=1
source=(http://www.greenwoodsoftware.com/less/less-$version.tar.gz)
kaynak=(http://www.greenwoodsoftware.com/less/less-$surum.tar.gz)
derle()
{
cd less-$version
cd less-$surum
./configure --prefix=/usr \
--sysconfdir=/etc
make

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=libarchive
version=3.3.2
release=1
isim=libarchive
surum=3.3.2
devir=1
source=(http://www.libarchive.org/downloads/libarchive-$version.tar.gz)
kaynak=(http://www.libarchive.org/downloads/libarchive-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
autoreconf -fi
./configure \
--prefix=/usr \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=libcap
version=2.25
release=1
isim=libcap
surum=2.25
devir=1
source=( https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.xz)
kaynak=( https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$surum.tar.xz)
derle() {
cd libcap-$version
cd libcap-$surum
sed -i 's:LIBDIR:PAM_&:g' pam_cap/Makefile
sed -i '/install.*STALIBNAME/d' libcap/Makefile
make

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=libpipeline
version=1.4.1
release=1
isim=libpipeline
surum=1.4.1
devir=1
source=(http://download.savannah.gnu.org/releases/libpipeline/libpipeline-$version.tar.gz)
kaynak=(http://download.savannah.gnu.org/releases/libpipeline/libpipeline-$surum.tar.gz)
derle()
{
cd $name-$version
cd $isim-$surum
PKG_CONFIG_PATH=/tools/lib/pkgconfig \
./configure --prefix=/usr \
--libdir=/lib

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=libtool
version=2.4.6
release=1
isim=libtool
surum=2.4.6
devir=1
source=(http://ftp.gnu.org/gnu/libtool/libtool-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/libtool/libtool-$surum.tar.xz)
derle()
{

View File

@ -3,13 +3,13 @@
# Paketçi: milisarge
# Gerekler:
name=lvm2
version=2.02.141
release=1
isim=lvm2
surum=2.02.141
devir=1
source=(ftp://sources.redhat.com/pub/lvm2/LVM2.$version.tgz)
kaynak=(ftp://sources.redhat.com/pub/lvm2/LVM2.$surum.tgz)
derle() {
cd LVM2.$version
cd LVM2.$surum
./configure \
--prefix=/usr \
--exec-prefix= \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=lz4
version=r131
release=1
isim=lz4
surum=r131
devir=1
source=(https://github.com/Cyan4973/lz4/archive/r131.tar.gz)
kaynak=(https://github.com/Cyan4973/lz4/archive/r131.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
make PREFIX=/usr
make install PREFIX=/usr DESTDIR=$PKG

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=lzip
version=1.18-rc1
release=1
isim=lzip
surum=1.18-rc1
devir=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz)
kaynak=(http://download.savannah.gnu.org/releases/$isim/$isim-$surum.tar.gz)
derle()
{
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge
# Gerekler:
name=lzo
version=2.09
release=1
isim=lzo
surum=2.09
devir=1
source=( http://www.oberhumer.com/opensource/$name/download/$name-$version.tar.gz)
kaynak=( http://www.oberhumer.com/opensource/$isim/download/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--enable-shared \
--docdir=/usr/share/doc/lzo-$version
--docdir=/usr/share/doc/lzo-$surum
make
make DESTDIR=$PKG install
}

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=m4
version=1.4.17
release=1
isim=m4
surum=1.4.17
devir=1
source=(http://ftp.gnu.org/gnu/m4/m4-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/m4/m4-$surum.tar.xz)
derle()
{
cd m4-$version
cd m4-$surum
./configure --prefix=/usr
make
make check || true

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=make
version=4.1
release=1
isim=make
surum=4.1
devir=1
source=(http://ftp.gnu.org/gnu/make/make-$version.tar.bz2)
kaynak=(http://ftp.gnu.org/gnu/make/make-$surum.tar.bz2)
derle()
{
cd make-$version
cd make-$surum
./configure --prefix=/usr
make
make DESTDIR=$PKG install

View File

@ -3,18 +3,18 @@
# Paketçi: milisarge
# Gerekler:
name=man-db
version=2.7.2
release=1
isim=man-db
surum=2.7.2
devir=1
source=(http://savannah.nongnu.org/download/man-db/man-db-$version.tar.xz)
kaynak=(http://savannah.nongnu.org/download/man-db/man-db-$surum.tar.xz)
derle()
{
cd man-db-$version
cd man-db-$surum
PKG_CONFIG_PATH="/usr/lib/pkgconfig" ./configure --prefix=/usr \
--libexecdir=/usr/lib \
--docdir=/usr/share/doc/man-$version \
--docdir=/usr/share/doc/man-$surum \
--sysconfdir=/etc --disable-setuid \
--with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=mpc
version=1.0.3
release=1
isim=mpc
surum=1.0.3
devir=1
source=(http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz)
kaynak=(http://www.multiprecision.org/mpc/download/mpc-$surum.tar.gz)
derle()
{
cd mpc-$version
cd mpc-$surum
./configure --prefix=/usr --libdir=/lib
make
make check

View File

@ -3,20 +3,20 @@
# Paketçi: milisarge
# Gerekler:
name=mpfr
version=3.1.3
release=2
isim=mpfr
surum=3.1.3
devir=2
source=(http://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-upstream_fixes-1.patch)
kaynak=(http://www.mpfr.org/mpfr-current/mpfr-$surum.tar.xz
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-upstream_fixes-1.patch)
derle()
{
cd mpfr-$version
patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
cd mpfr-$surum
patch -Np1 -i ../$isim-$surum-upstream_fixes-1.patch
./configure --prefix=/usr --enable-thread-safe \
--libdir=/lib \
--docdir=/usr/share/doc/mpfr-$version
--docdir=/usr/share/doc/mpfr-$surum
make
make check
make DESTDIR=$PKG install

View File

@ -3,21 +3,21 @@
# Paketçi: milisarge
# Gerekler:
name=nano
version=2.5.2
release=1
isim=nano
surum=2.5.2
devir=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-utf8 \
--enable-color \
--enable-multibuffer \
--enable-nanorc \
--docdir=/usr/share/doc/nano-$version \
--docdir=/usr/share/doc/nano-$surum \
--disable-x
make
make DESTDIR=$PKG install

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=nasm
version=2.11.06
release=1
isim=nasm
surum=2.11.06
devir=1
source=( ftp://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.11.06-1really2.11.05.orig.tar.xz
http://www.nasm.us/pub/nasm/releasebuilds/$version/nasm-$version-xdoc.tar.xz)
kaynak=( ftp://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.11.06-1really2.11.05.orig.tar.xz
http://www.nasm.us/pub/nasm/releasebuilds/$surum/nasm-$surum-xdoc.tar.xz)
derle() {
cd $name-2.11.05
cd $isim-2.11.05
./configure --prefix=/usr\
--mandir=/usr/share/man
make
@ -19,10 +19,10 @@ derle() {
mkdir -p $PKG/usr/share/man/man1
make INSTALLROOT=$PKG install
mkdir -pv $PKG/usr/share/doc/nasm-$version/html
cd ../$name-2.11.06
cp -v doc/html/*.html $PKG/usr/share/doc/nasm-$version/html
cp -v doc/*.{txt,ps,pdf} $PKG/usr/share/doc/nasm-$version
mkdir -pv $PKG/usr/share/doc/nasm-$surum/html
cd ../$isim-2.11.06
cp -v doc/html/*.html $PKG/usr/share/doc/nasm-$surum/html
cp -v doc/*.{txt,ps,pdf} $PKG/usr/share/doc/nasm-$surum
mkdir -pv $PKG/usr/share/info
cp -v doc/info/* $PKG/usr/share/info
}

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=ncurses
version=6.0
release=1
isim=ncurses
surum=6.0
devir=1
source=(ftp://invisible-island.net/ncurses/ncurses-$version.tar.gz)
kaynak=(ftp://invisible-island.net/ncurses/ncurses-$surum.tar.gz)
derle()
{
cd ncurses-$version
cd ncurses-$surum
sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=openssh
version=7.1p2
release=1
isim=openssh
surum=7.1p2
devir=1
source=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$name-$version.tar.gz
kaynak=(ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$isim-$surum.tar.gz
http://downloads.nutyx.org/files/patchs/openssh-server/service-saravane-01.patch)
derle() {
@ -15,7 +15,7 @@ source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
unset MAKEFLAGS
cd $name-$version
cd $isim-$surum
install -v -m700 -d $PKG/var/lib/sshd
@ -41,9 +41,9 @@ install -v -m755 contrib/ssh-copy-id $PKG/usr/bin
install -v -m644 contrib/ssh-copy-id.1 \
$PKG/usr/share/man/man1
install -v -m755 -d $PKG/usr/share/doc/$name-$version
install -v -m755 -d $PKG/usr/share/doc/$isim-$surum
install -v -m644 INSTALL LICENCE OVERVIEW README* \
$PKG/usr/share/doc/$name-$version
$PKG/usr/share/doc/$isim-$surum
cd $SRC

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge
# Gerekler:
name=openssl
version=1.0.2f
release=1
isim=openssl
surum=1.0.2f
devir=1
source=(ftp://ftp.openssl.org/source/$name-$version.tar.gz)
kaynak=(ftp://ftp.openssl.org/source/$isim-$surum.tar.gz)
derle() {
unset MAKEFLAGS
cd $name-$version
cd $isim-$surum
./config --prefix=/usr \
--openssldir=/etc/ssl \

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=pam
version=1.2.1
release=1
isim=pam
surum=1.2.1
devir=1
source=(http://linux-pam.org/library/Linux-PAM-$version.tar.bz2)
kaynak=(http://linux-pam.org/library/Linux-PAM-$surum.tar.bz2)
derle() {
if [ "`uname -m`" == "x86_64" ]; then
@ -17,10 +17,10 @@ else
fi
mkdir -p $PKG/etc/pam.d
cd Linux-PAM-$version
cd Linux-PAM-$surum
./configure --prefix=/usr --sysconfdir=/etc \
--enable-securedir=/$LIB/security \
--docdir=/usr/share/doc/Linux-PAM-$version \
--docdir=/usr/share/doc/Linux-PAM-$surum \
--disable-nis --libdir=/usr/lib
make
make DESTDIR=$PKG install

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=patch
version=2.7.5
release=1
isim=patch
surum=2.7.5
devir=1
source=(http://ftp.gnu.org/gnu/patch/patch-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/patch/patch-$surum.tar.xz)
derle()
{
cd patch-$version
cd patch-$surum
./configure --prefix=/usr
make
make prefix=$PKG/usr \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=pciutils
version=3.4.1
release=1
isim=pciutils
surum=3.4.1
devir=1
source=(ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
kaynak=(ftp://ftp.kernel.org/pub/software/utils/$isim/$isim-$surum.tar.xz)
derle() {
cd $name-$version
cd $isim-$surum
make OPT="$CFLAGS -fPIC -DPIC" \
ZLIB=no \
PREFIX=/usr \
@ -25,5 +25,5 @@ SHAREDIR=$PKG/usr/share/misc \
MANDIR=$PKG/usr/share/man \
SHARED=yes ZLIB=no \
install install-lib
chmod -v 755 $PKG/usr/lib/libpci.so.$version
chmod -v 755 $PKG/usr/lib/libpci.so.$surum
}

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=perl
version=5.22.1
release=1
isim=perl
surum=5.22.1
devir=1
source=(http://ftp.funet.fi/pub/CPAN/src/$name-$version.tar.bz2)
kaynak=(http://ftp.funet.fi/pub/CPAN/src/$isim-$surum.tar.bz2)
derle()
{
cd $name-$version
cd $isim-$surum
if [ "`uname -m`" == "x86_64" ]; then
_ARCH="-Dcccdlflags='-fPIC'"

View File

@ -3,18 +3,18 @@
# Paketçi: milisarge
# Gerekler:
name=pkg-config
version=0.29
release=1
isim=pkg-config
surum=0.29
devir=1
source=(http://pkgconfig.freedesktop.org/releases/pkg-config-$version.tar.gz)
kaynak=(http://pkgconfig.freedesktop.org/releases/pkg-config-$surum.tar.gz)
derle()
{
cd pkg-config-$version
cd pkg-config-$surum
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
--docdir=/usr/share/doc/pkg-config-$version
--docdir=/usr/share/doc/pkg-config-$surum
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc

View File

@ -3,20 +3,20 @@
# Paketçi: milisarge
# Gerekler:
name=procps-ng
version=3.3.11
release=1
isim=procps-ng
surum=3.3.11
devir=1
source=(http://downloads.sourceforge.net/project/$name/Production/$name-$version.tar.xz)
kaynak=(http://downloads.sourceforge.net/project/$isim/Production/$isim-$surum.tar.xz)
derle()
{
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--exec-prefix= \
--libdir=/lib --bindir=/bin --sbindir=/sbin \
--docdir=/usr/share/doc/procps-ng-$version \
--docdir=/usr/share/doc/procps-ng-$surum \
--disable-static \
--disable-skill \
--disable-kill

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=psmisc
version=22.21
release=1
isim=psmisc
surum=22.21
devir=1
source=(http://prdownloads.sourceforge.net/psmisc/psmisc-$version.tar.gz)
kaynak=(http://prdownloads.sourceforge.net/psmisc/psmisc-$surum.tar.gz)
derle()
{
cd psmisc-$version
cd psmisc-$surum
./configure --prefix=/usr --libdir=/lib --bindir=/bin
make
make DESTDIR=$PKG install

View File

@ -3,23 +3,23 @@
# Paketçi: milisarge
# Gerekler:
name=readline
version=6.3
release=1
isim=readline
surum=6.3
devir=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)
kaynak=(http://ftp.gnu.org/gnu/readline/readline-$surum.tar.gz
http://www.linuxfromscratch.org/patches/downloads/$isim/$isim-$surum-upstream_fixes-3.patch)
derle()
{
cd readline-$version
patch -Np1 -i ../$name-$version-upstream_fixes-3.patch
cd readline-$surum
patch -Np1 -i ../$isim-$surum-upstream_fixes-3.patch
sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install
./configure --prefix=/usr \
--docdir=/usr/share/doc/readline-$version
--docdir=/usr/share/doc/readline-$surum
make SHLIB_LIBS=-lncurses
@ -32,9 +32,9 @@ $PKG/lib
rm -rf $PKG/usr/share/info/dir
mkdir -p $PKG/usr/share/doc/readline-$version
mkdir -p $PKG/usr/share/doc/readline-$surum
install -v -m644 doc/*.{ps,pdf,html,dvi} \
$PKG/usr/share/doc/readline-$version
$PKG/usr/share/doc/readline-$surum
rm -rv $PKG/usr/bin

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge
# Gerekler:
name=rsync
version=3.1.2
release=1
isim=rsync
surum=3.1.2
devir=1
source=( http://rsync.samba.org/ftp/$name/$name-$version.tar.gz )
kaynak=( http://rsync.samba.org/ftp/$isim/$isim-$surum.tar.gz )
derle() {
source /etc/blfs-bootscripts
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
-mandir=/usr/share/man \
--infodir=/usr/share/info

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge
# Gerekler:
name=sed
version=4.2.2
release=1
isim=sed
surum=4.2.2
devir=1
source=(http://ftp.gnu.org/gnu/sed/sed-$version.tar.bz2)
kaynak=(http://ftp.gnu.org/gnu/sed/sed-$surum.tar.bz2)
derle()
{
cd sed-$version
cd sed-$surum
./configure --prefix=/usr --bindir=/bin \
--libdir=/lib --htmldir=/usr/share/doc/sed-$version
--libdir=/lib --htmldir=/usr/share/doc/sed-$surum
make
make html
make check

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=shadow
version=4.2.1
release=1
isim=shadow
surum=4.2.1
devir=1
source=( http://pkg-shadow.alioth.debian.org/releases/shadow-$version.tar.xz)
kaynak=( http://pkg-shadow.alioth.debian.org/releases/shadow-$surum.tar.xz)
derle()
{
cd shadow-$version
cd shadow-$surum
sed -i 's/groups$(EXEEXT) //' src/Makefile.in
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge@gmail.com
# Gerekler:
name=squashfs
version=4.3
release=2
isim=squashfs
surum=4.3
devir=2
source=(http://downloads.sourceforge.net/sourceforge/$name/$name$version.tar.gz)
kaynak=(http://downloads.sourceforge.net/sourceforge/$isim/$isim$surum.tar.gz)
derle() {
cd $name$version/squashfs-tools
cd $isim$surum/squashfs-tools
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 LZA_SUPPORT=1
mkdir -p $PKG/bin
make INSTALL_DIR=$PKG/bin install

View File

@ -3,17 +3,17 @@
# Paketçi: milisarge
# Gerekler:
name=sudo
version=1.8.15
release=1
isim=sudo
surum=1.8.15
devir=1
source=(http://www.sudo.ws/sudo/dist/$name-$version.tar.gz)
kaynak=(http://www.sudo.ws/sudo/dist/$isim-$surum.tar.gz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--docdir=/usr/share/doc/sudo-$version \
--docdir=/usr/share/doc/sudo-$surum \
--with-all-insults \
--with-env-editor \
--without-sendmail \

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=sysklogd
version=1.5.1
release=1
isim=sysklogd
surum=1.5.1
devir=1
source=(http://www.infodrom.org/projects/sysklogd/download/sysklogd-$version.tar.gz)
kaynak=(http://www.infodrom.org/projects/sysklogd/download/sysklogd-$surum.tar.gz)
derle()
{
cd sysklogd-$version
cd sysklogd-$surum
sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c

View File

@ -3,16 +3,16 @@
# Paketçi: milisarge
# Gerekler:
name=sysvinit
version=2.88dsf
release=2
isim=sysvinit
surum=2.88dsf
devir=2
source=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$version.tar.bz2
kaynak=(http://ftp.twaren.net/Unix/NonGNU/sysvinit/sysvinit-$surum.tar.bz2
http://www.linuxfromscratch.org/patches/lfs/development/sysvinit-2.88dsf-consolidated-1.patch)
derle()
{
cd sysvinit-$version
cd sysvinit-$surum
patch -Np1 -i ../sysvinit-2.88dsf-consolidated-1.patch
make -C src

View File

@ -3,15 +3,15 @@
# Paketçi: milisarge
# Gerekler:
name=tar
version=1.28
release=2
isim=tar
surum=1.28
devir=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
derle()
{
cd $name-$version
cd $isim-$surum
FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/sbin

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=texinfo
version=6.1
release=1
isim=texinfo
surum=6.1
devir=1
source=(http://ftp.gnu.org/gnu/$name/texinfo-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/$isim/texinfo-$surum.tar.xz)
derle()
{

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=tzdata
version=2016a
release=1
isim=tzdata
surum=2016a
devir=1
source=(http://www.iana.org/time-zones/repository/releases/$name$version.tar.gz)
kaynak=(http://www.iana.org/time-zones/repository/releases/$isim$surum.tar.gz)
derle() {
timezones=('africa' 'antarctica' 'asia' 'australasia'
'europe' 'northamerica' 'southamerica'

View File

@ -3,19 +3,19 @@
# Paketçi: milisarge
# Gerekler:
name=util-linux
version=2.27.1
release=1
source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz
isim=util-linux
surum=2.27.1
devir=1
kaynak=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$surum.tar.xz
)
derle()
{
cd util-linux-$version
cd util-linux-$surum
mkdir -pv $PKG/var/lib/hwclock
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=/usr/share/doc/$name-$version \
--docdir=/usr/share/doc/$isim-$surum \
--disable-chfn-chsh \
--disable-login \
--disable-nologin \

View File

@ -3,14 +3,14 @@
# Paketçi: milisarge
# Gerekler:
name=wget
version=1.17.1
release=2
isim=wget
surum=1.17.1
devir=2
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
kaynak=(http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
derle() {
cd $name-$version
cd $isim-$surum
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ssl=openssl \

View File

@ -3,26 +3,26 @@
# Paketçi: milisarge
# Gerekler:
name=xz
version=5.2.2
release=1
isim=xz
surum=5.2.2
devir=1
source=(http://tukaani.org/xz/xz-$version.tar.xz)
kaynak=(http://tukaani.org/xz/xz-$surum.tar.xz)
derle()
{
cd xz-$version
cd xz-$surum
sed -e '/mf\.buffer = NULL/a next->coder->mf.size = 0;' \
-i src/liblzma/lz/lz_encoder.c
./configure --prefix=/usr \
--bindir=/bin \
--docdir=/usr/share/doc/xz-$version
--docdir=/usr/share/doc/xz-$surum
make
make pkgconfigdir=/usr/lib/pkgconfig DESTDIR=$PKG install
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
ln -svf ../../lib/liblzma.so.$surum $PKG/usr/lib/liblzma.so
rm -r $PKG/usr/share/doc/
}

View File

@ -3,11 +3,11 @@
# Paketçi: milisarge
# Gerekler:
name=zlib
version=1.2.8
release=1
isim=zlib
surum=1.2.8
devir=1
source=(http://www.zlib.net/zlib-$version.tar.xz)
kaynak=(http://www.zlib.net/zlib-$surum.tar.xz)
derle() {
@ -34,7 +34,7 @@ if [ -L /bin/pwd ];then
rm -v dummy.c a.out dummy.log
fi
cd zlib-$version
cd zlib-$surum
./configure --prefix=/usr
make
make check
@ -42,6 +42,6 @@ make prefix=$PKG/usr install
mkdir -p $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.$surum $PKG/usr/lib/libz.so
}