malfs mekanizma guncelleme

This commit is contained in:
root 2016-03-08 18:03:53 +02:00
parent 0b95dd5d2d
commit 4fce0f5d35
4 changed files with 25 additions and 50 deletions

View File

@ -436,8 +436,9 @@ ayarlar "$@"
if [ "$ikaynak" = "ag" ]; then if [ "$ikaynak" = "ag" ]; then
echo "agdan cekiliyor:" "$2" ryaz 33 "agdan cekiliyor:" "$2"
#pkt=`cat "$paketdepo""paket.vt" | grep -w "$2" | cut -d' ' -f2` #pkt=`cat "$paketdepo""paket.vt" | grep -w "$2" | cut -d' ' -f2`
paketvt_kontrol
pkt=`cat "$paketdepo""paket.vt" | grep "$2"# | cut -d' ' -f2` pkt=`cat "$paketdepo""paket.vt" | grep "$2"# | cut -d' ' -f2`
if [ ! -z "$pkt" -a "$pkt" != "" ]; then if [ ! -z "$pkt" -a "$pkt" != "" ]; then
cpaket="${pkt/'#'/'%23'}" cpaket="${pkt/'#'/'%23'}"
@ -456,7 +457,10 @@ if [ "$ikaynak" = "ag" ]; then
rya 31 "paket zaten kurulu!" rya 31 "paket zaten kurulu!"
fi fi
fi fi
fi fi
else
ryaz 31 "paket agda bulunamadı!"
fi fi
exit 1 exit 1

View File

@ -2,7 +2,6 @@
# URL: http://sourceware.org/libffi/ # URL: http://sourceware.org/libffi/
# Packager: pierre at nutyx dot org # Packager: pierre at nutyx dot org
# Depends on: # Depends on:
PKGMK_GROUPS=(devel man)
name=libffi name=libffi
version=3.2.1 version=3.2.1

View File

@ -1,8 +1,7 @@
# Description: Next generation of the python high-level scripting language # Description: Next generation of the python high-level scripting language
# URL: URL: http://www.python.org # URL: URL: http://www.python.org
# Packager: alienus at nutyx dot org # Packager: milis
# Depends on: libffi sqlite # Depends on: libffi sqlite
PKGMK_GROUPS=(devel man doc)
_pybasever=2.7 _pybasever=2.7
@ -29,17 +28,6 @@ build() {
# Part of python3 # Part of python3
rm -f $PKG/usr/bin/2to3 rm -f $PKG/usr/bin/2to3
# Install all HTML Docs files with desktop menu integration
install -v -dm755 $PKG/usr/share/doc/$name-$version
cd $SRC
wget --no-check-certificate http://docs.python.org/ftp/python/doc/$version/python-$version-docs-html.tar.bz2
tar --strip-components=1 -C $PKG/usr/share/doc/$name-$version \
--no-same-owner -xvf python-$version-docs-html.tar.bz2
find $PKG/usr/share/doc/$name-$version -type d -exec chmod 0755 {} \;
find $PKG/usr/share/doc/$name-$version -type f -exec chmod 0644 {} \;
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
echo "[Desktop Entry] echo "[Desktop Entry]
Categories=Development;Documentation Categories=Development;Documentation
@ -49,17 +37,7 @@ StartupNotify=false
Terminal=false Terminal=false
Type=Application Type=Application
Name=Python Documentation Name=Python Documentation
Name[fr]=Documentation Python" > $PKG/usr/share/applications/python.desktop Name[tr]=Dokumentasyon Python" > $PKG/usr/share/applications/python.desktop
install -Dm644 $SRC/$name.png \ install -Dm644 $SRC/$name.png \
$PKG/usr/share/icons/hicolor/48x48/apps/$name.png $PKG/usr/share/icons/hicolor/48x48/apps/$name.png
} }
doc () {
cd $PKG
bsdtar -cf \
$PKGMK_PACKAGE_DIR/$name.doc#$version-any.mps \
usr/share/doc/$name-$version \
usr/share/applications/python.desktop \
usr/share/icons/hicolor/48x48/apps/$name.png
rm -r usr/share/{doc,applications/python.desktop,icons/hicolor/48x48/apps/$name.png}
}

View File

@ -1,30 +1,24 @@
# Description: A self-contained, serverless, zero-configuration, transactional SQL database engine # Description: SQL database engine
# URL: http://www.sqlite.org/ # URL: http://www.sqlite.org/
# Packager: pierre at nutyx dot org, tnut at nutyx dot org # Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ncurses, readline
_amalgamationver=3100100
name=sqlite name=sqlite
version=3.10.1 version=3.11.1
release=1 release=1
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
source=(http://www.sqlite.org/2016/sqlite-autoconf-$_amalgamationver.tar.gz source=(http://www.sqlite.org/2016/sqlite-autoconf-${_version}.tar.gz)
http://www.sqlite.org/2016/sqlite-doc-$_amalgamationver.zip )
build() { build () {
cd $name-autoconf-$_amalgamationver cd sqlite-autoconf-${_version}
./configure --prefix=/usr \
--disable-static \ CONFIG_SHELL=/bin/bash \
CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \ CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \ -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
-DSQLITE_SECURE_DELETE=1 \ $CFLAGS" \
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \ ./configure --prefix=/usr
-DSQLITE_ENABLE_RTREE=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1" make
make -j1 make DESTDIR=$PKG install
make DESTDIR=$PKG install
install -v -m755 -d $PKG/usr/share/doc/$name-$version
cd $SRC
cp -v -R sqlite-doc-$_amalgamationver/* $PKG/usr/share/doc/$name-$version
} }