duktape.paketlendi
This commit is contained in:
parent
bd84fd61a5
commit
b7814808c4
|
@ -0,0 +1 @@
|
|||
62f72206427633077cb02e7ccd2599ace4d254db409334593b86d262c0d50c14 duktape-2.2.0.tar.xz
|
|
@ -0,0 +1,10 @@
|
|||
prefix=/usr
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: duktape
|
||||
Description: Embeddable Javascript engine
|
||||
Version: 2.2.0
|
||||
Libs: -L${libdir} -lduktape
|
||||
Cflags: -I${includedir}
|
|
@ -0,0 +1,25 @@
|
|||
# Tanım: Gömülü Javascript makinası
|
||||
# URL: http://duktape.org/
|
||||
# Paketçi: milisarge
|
||||
# Gerekler: setconf
|
||||
|
||||
isim=duktape
|
||||
surum=2.2.0
|
||||
devir=1
|
||||
kaynak=(http://duktape.org/duktape-$surum.tar.xz
|
||||
duktape.pc)
|
||||
|
||||
derle() {
|
||||
cd "$isim-$surum"
|
||||
mv Makefile.sharedlibrary Makefile
|
||||
sed 's/-Wall -Wextra/$(CFLAGS)/g' -i Makefile
|
||||
setconf Makefile INSTALL_PREFIX="$PKG/usr"
|
||||
setconf "$SRC/duktape.pc" Version="$surum"
|
||||
CFLAGS="$CFLAGS -D DUK_USE_FASTINT -w" make -C "$SRC/$isim-$surum"
|
||||
make -f Makefile.cmdline
|
||||
install -d "$PKG/usr/lib" "$PKG/usr/include" "$PKG/usr/bin"
|
||||
make install
|
||||
cp duk $PKG/usr/bin/
|
||||
install -Dm644 "$SRC/duktape.pc" "$PKG/usr/lib/pkgconfig/duktape.pc"
|
||||
install -Dm644 LICENSE.txt "$PKG/usr/share/licenses/$isim/LICENSE"
|
||||
}
|
Loading…
Reference in New Issue