malfs mekanizma guncelleme
This commit is contained in:
parent
0b95dd5d2d
commit
4fce0f5d35
6
bin/mps
6
bin/mps
|
@ -436,8 +436,9 @@ ayarlar "$@"
|
|||
|
||||
if [ "$ikaynak" = "ag" ]; then
|
||||
|
||||
echo "agdan cekiliyor:" "$2"
|
||||
ryaz 33 "agdan cekiliyor:" "$2"
|
||||
#pkt=`cat "$paketdepo""paket.vt" | grep -w "$2" | cut -d' ' -f2`
|
||||
paketvt_kontrol
|
||||
pkt=`cat "$paketdepo""paket.vt" | grep "$2"# | cut -d' ' -f2`
|
||||
if [ ! -z "$pkt" -a "$pkt" != "" ]; then
|
||||
cpaket="${pkt/'#'/'%23'}"
|
||||
|
@ -456,7 +457,10 @@ if [ "$ikaynak" = "ag" ]; then
|
|||
rya 31 "paket zaten kurulu!"
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
else
|
||||
ryaz 31 "paket agda bulunamadı!"
|
||||
fi
|
||||
exit 1
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# URL: http://sourceware.org/libffi/
|
||||
# Packager: pierre at nutyx dot org
|
||||
# Depends on:
|
||||
PKGMK_GROUPS=(devel man)
|
||||
|
||||
name=libffi
|
||||
version=3.2.1
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# Description: Next generation of the python high-level scripting language
|
||||
# URL: URL: http://www.python.org
|
||||
# Packager: alienus at nutyx dot org
|
||||
# Packager: milis
|
||||
# Depends on: libffi sqlite
|
||||
PKGMK_GROUPS=(devel man doc)
|
||||
|
||||
_pybasever=2.7
|
||||
|
||||
|
@ -29,17 +28,6 @@ build() {
|
|||
# Part of python3
|
||||
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
|
||||
echo "[Desktop Entry]
|
||||
Categories=Development;Documentation
|
||||
|
@ -49,17 +37,7 @@ StartupNotify=false
|
|||
Terminal=false
|
||||
Type=Application
|
||||
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 \
|
||||
$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}
|
||||
}
|
||||
|
|
|
@ -1,30 +1,24 @@
|
|||
# Description: A self-contained, serverless, zero-configuration, transactional SQL database engine
|
||||
# URL: http://www.sqlite.org/
|
||||
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
|
||||
|
||||
|
||||
_amalgamationver=3100100
|
||||
# Description: SQL database engine
|
||||
# URL: http://www.sqlite.org/
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: ncurses, readline
|
||||
|
||||
name=sqlite
|
||||
version=3.10.1
|
||||
version=3.11.1
|
||||
release=1
|
||||
_version=$(printf "%i%.2i%.2i%.2i" ${version//./ })
|
||||
|
||||
source=(http://www.sqlite.org/2016/sqlite-autoconf-$_amalgamationver.tar.gz
|
||||
http://www.sqlite.org/2016/sqlite-doc-$_amalgamationver.zip )
|
||||
source=(http://www.sqlite.org/2016/sqlite-autoconf-${_version}.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-autoconf-$_amalgamationver
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_SECURE_DELETE=1 \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_ENABLE_RTREE=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
|
||||
make -j1
|
||||
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
|
||||
build () {
|
||||
cd sqlite-autoconf-${_version}
|
||||
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
CFLAGS="-DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
$CFLAGS" \
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue