xorg-font-talimat
This commit is contained in:
parent
b0a8ef6f2f
commit
bc12c86b4f
|
@ -7,13 +7,12 @@
|
||||||
isim=xorg-font
|
isim=xorg-font
|
||||||
surum=7.7
|
surum=7.7
|
||||||
devir=3
|
devir=3
|
||||||
section="font"
|
|
||||||
|
|
||||||
kaynak=()
|
kaynak=()
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
unset MAKEFLAGS
|
unset MAKEFLAGS
|
||||||
cat > $section-$surum-$devir.md5 << "EOF"
|
cat > font-$surum-$devir.md5 << "EOF"
|
||||||
23756dab809f9ec5011bb27fb2c3c7d6 font-util-1.3.1.tar.bz2
|
23756dab809f9ec5011bb27fb2c3c7d6 font-util-1.3.1.tar.bz2
|
||||||
0f2d6546d514c5cc4ecf78a60657a5c1 encodings-1.0.4.tar.bz2
|
0f2d6546d514c5cc4ecf78a60657a5c1 encodings-1.0.4.tar.bz2
|
||||||
1347c3031b74c9e91dc4dfa53b12f143 font-adobe-100dpi-1.0.3.tar.bz2
|
1347c3031b74c9e91dc4dfa53b12f143 font-adobe-100dpi-1.0.3.tar.bz2
|
||||||
|
@ -52,27 +51,32 @@ beef61a9b0762aba8af7b736bb961f86 font-sony-misc-1.0.3.tar.bz2
|
||||||
829a3159389b7f96f629e5388bfee67b font-winitzki-cyrillic-1.0.3.tar.bz2
|
829a3159389b7f96f629e5388bfee67b font-winitzki-cyrillic-1.0.3.tar.bz2
|
||||||
3eeb3fb44690b477d510bbd8f86cf5aa font-xfree86-type1-1.0.4.tar.bz2
|
3eeb3fb44690b477d510bbd8f86cf5aa font-xfree86-type1-1.0.4.tar.bz2
|
||||||
EOF
|
EOF
|
||||||
for package in $(grep -v '^#' ${section}-${surum}-${devir}.md5 |cut -d " " -f 3)
|
for package in $(grep -v '^#' font-${surum}-${devir}.md5 |cut -d " " -f 3)
|
||||||
do
|
do
|
||||||
wget http://mirror.switch.ch/ftp/mirror/X11/pub/individual/${section}/$package
|
[ -f $DERLEME_KAYNAKDIZIN/$package ] && cp -f $DERLEME_KAYNAKDIZIN/$package .
|
||||||
grep $package $section-$surum-$devir.md5 |md5sum -c -
|
wget -nc http://ftp.iij.ad.jp/pub/X11/x.org/pub/individual/font/$package
|
||||||
packagedir=$(echo $package | sed 's/.tar.bz2//')
|
grep $package font-$surum-$devir.md5 |md5sum -c -
|
||||||
tar -xf $package
|
packagedir=$(echo $package | sed 's/.tar.bz2//')
|
||||||
|
tar -xf $package
|
||||||
|
|
||||||
pushd $packagedir
|
pushd $packagedir
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||||
--with-fontrootdir=/usr/share/fonts
|
--with-fontrootdir=/usr/share/fonts
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
popd
|
popd
|
||||||
|
done
|
||||||
|
for FILE in usr/bin/bdftruncate \
|
||||||
|
usr/bin/ucs2any \
|
||||||
|
usr/share/aclocal/fontutil.m4 \
|
||||||
|
usr/lib/pkgconfig/fontutil.pc \
|
||||||
|
usr/share/man/man1/bdftruncate.1 \
|
||||||
|
usr/share/man/man1/ucs2any.1
|
||||||
|
do
|
||||||
|
rm $PKG/$FILE
|
||||||
done
|
done
|
||||||
for FILE in usr/bin/bdftruncate \
|
rm -rf $PKG/usr/bin
|
||||||
usr/bin/ucs2any \
|
rm -rf $PKG/usr/lib
|
||||||
usr/share/aclocal/fontutil.m4 \
|
rm -rf $PKG/usr/share/man
|
||||||
usr/lib/pkgconfig/fontutil.pc \
|
rm -rf $PKG/usr/share/aclocal
|
||||||
usr/share/man/man1/bdftruncate.1 \
|
|
||||||
usr/share/man/man1/ucs2any.1
|
|
||||||
do
|
|
||||||
rm $PKG/$FILE
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue