diff options
author | Eric Hameleers <alien@slackware.com> | 2013-03-22 16:47:17 -0700 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-03-22 16:47:17 -0700 |
commit | 69dd99f961988fa15da8d7f0d63b62f3385419c3 (patch) | |
tree | d57eb3e85e1d08e7815787de26946ee42c398b66 /recipe.d | |
download | alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.gz alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.xz |
Initial commit of a Slackware cross-arch bootstrap framework.
Diffstat (limited to 'recipe.d')
44 files changed, 316 insertions, 0 deletions
diff --git a/recipe.d/0001-cpio b/recipe.d/0001-cpio new file mode 100644 index 0000000..5d55f4d --- /dev/null +++ b/recipe.d/0001-cpio @@ -0,0 +1,6 @@ + mcd $BUILDDIR/$1 + $SLACKSOURCE/${1}/${1}-*/configure $TCONFIGARGS + notparallel + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0002-ncurses b/recipe.d/0002-ncurses new file mode 100644 index 0000000..a2c98f4 --- /dev/null +++ b/recipe.d/0002-ncurses @@ -0,0 +1,13 @@ + mcd $BUILDDIR/ncurses + $SLACKSOURCE/ncurses/ncurses-*/configure $TCONFIGARGS \ + --with-shared --without-ada --with-ospeed=unsigned \ + --enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \ + --enable-overwrite \ + --enable-pc-files \ + --with-termlib=tinfo \ + --with-chtype=long \ + --with-ticlib + notparallel + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0003-m4 b/recipe.d/0003-m4 new file mode 100644 index 0000000..9f3a19f --- /dev/null +++ b/recipe.d/0003-m4 @@ -0,0 +1,5 @@ + mcd $BUILDDIR/m4 + $SLACKSOURCE/m4/m4-*/configure $TCONFIGARGS + make $NUMJOBS -k + make $NUMJOBS -k install + diff --git a/recipe.d/0004-flex b/recipe.d/0004-flex new file mode 100644 index 0000000..3929d8a --- /dev/null +++ b/recipe.d/0004-flex @@ -0,0 +1,5 @@ + mcd $BUILDDIR/flex + $SLACKSOURCE/flex/flex-*/configure $TCONFIGARGS --disable-dependency-tracking + make $NUMJOBS -k + make $NUMJOBS -k install + diff --git a/recipe.d/0005-bison b/recipe.d/0005-bison new file mode 100644 index 0000000..1f29e3a --- /dev/null +++ b/recipe.d/0005-bison @@ -0,0 +1,5 @@ + mcd $BUILDDIR/bison + $SLACKSOURCE/bison/bison-*/configure $TCONFIGARGS + make $NUMJOBS -k + make $NUMJOBS -k install + diff --git a/recipe.d/0006-texinfo b/recipe.d/0006-texinfo new file mode 100644 index 0000000..c6cb068 --- /dev/null +++ b/recipe.d/0006-texinfo @@ -0,0 +1,5 @@ + mcd $BUILDDIR/texinfo + $SLACKSOURCE/texinfo/texinfo-*/configure $TCONFIGARGS + make $NUMJOBS -k + make $NUMJOBS -k install + diff --git a/recipe.d/0007-gdb b/recipe.d/0007-gdb new file mode 100644 index 0000000..25c93a1 --- /dev/null +++ b/recipe.d/0007-gdb @@ -0,0 +1,6 @@ + mcd $BUILDDIR/gdb + $SLACKSOURCE/gdb/gdb-*/configure $TCONFIGARGS --without-rpm + notparallel + make $NUMJOBS -k + make $NUMJOBS -k install + diff --git a/recipe.d/0008-curl b/recipe.d/0008-curl new file mode 100644 index 0000000..b2f8e22 --- /dev/null +++ b/recipe.d/0008-curl @@ -0,0 +1,5 @@ + mcd $BUILDDIR/curl + $SLACKSOURCE/curl/curl-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0010-pcre b/recipe.d/0010-pcre new file mode 100644 index 0000000..5fe3e61 --- /dev/null +++ b/recipe.d/0010-pcre @@ -0,0 +1,5 @@ + mcd $BUILDDIR/pcre + $SLACKSOURCE/pcre/pcre-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0011-readline b/recipe.d/0011-readline new file mode 100644 index 0000000..1913a47 --- /dev/null +++ b/recipe.d/0011-readline @@ -0,0 +1,5 @@ + mcd $BUILDDIR/readline + $SLACKSOURCE/readline/readline-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0013-sqlite b/recipe.d/0013-sqlite new file mode 100644 index 0000000..155630a --- /dev/null +++ b/recipe.d/0013-sqlite @@ -0,0 +1,22 @@ + ##################################################### + # sqlite is choking on sqlite_int64 definition + ##################################################### + mcd $BUILDDIR/sqlite + export CFLAGS="$SLKCFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_DISABLE_DIRSYNC=1 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -Wall -fno-strict-aliasing" + $SLACKSOURCE/sqlite/sqlite-*/configure --disable-tcl --enable-threadsafe --enable-threads-override-locks --enable-load-extension $TCONFIGARGS + # the compile would fail here, so on a host you need to run + # tclsh $SLACKSOURCE/sqlite/sqlite-src-*/tool/mksqlite3h.tcl $SLACKSOURCE/sqlite/sqlite-src-* > sqlite3.h + cp $SLACKSOURCE/sqlite/sqlite-src-*/sqlite3.h.stage1 sqlite3.h + + # Also possibly add -ldl to TLIB in the Makefile + if egrep '^TLIBS.*ldl' Makefile > /dev/null + then + true + else + sed 's/^\(TLIBS = .*\)/\1 -ldl/' Makefile > Makefile.stage2 + mv Makefile.stage2 Makefile + fi + + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0014-gdbm b/recipe.d/0014-gdbm new file mode 100644 index 0000000..2dae011 --- /dev/null +++ b/recipe.d/0014-gdbm @@ -0,0 +1,5 @@ + mcd $BUILDDIR/gdbm + $SLACKSOURCE/${1}/${1}-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0016-pth b/recipe.d/0016-pth new file mode 100644 index 0000000..456cd46 --- /dev/null +++ b/recipe.d/0016-pth @@ -0,0 +1,5 @@ + mcd $BUILDDIR/pth + $SLACKSOURCE/${1}/${1}-*/configure $TCONFIGARGS + make + make install + diff --git a/recipe.d/0017-libtool b/recipe.d/0017-libtool new file mode 100644 index 0000000..1d63c9d --- /dev/null +++ b/recipe.d/0017-libtool @@ -0,0 +1,5 @@ + mcd $BUILDDIR/libtool + $SLACKSOURCE/libtool/libtool-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0018-db44 b/recipe.d/0018-db44 new file mode 100644 index 0000000..4c573e1 --- /dev/null +++ b/recipe.d/0018-db44 @@ -0,0 +1,5 @@ + mcd $BUILDDIR/db44 + $SLACKSOURCE/db44/db-*/dist/configure $TCONFIGARGS --enable-rpc --enable-cxx --enable-compat185 + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0019-perl b/recipe.d/0019-perl new file mode 100644 index 0000000..b4158d7 --- /dev/null +++ b/recipe.d/0019-perl @@ -0,0 +1,6 @@ + mcd $BUILDDIR/perl + cd $SLACKSOURCE/perl/perl-* + sh $SLACKSOURCE/perl/perl-*/Configure -des -Dprefix=/usr -DDEBUGGING=-g -Dcc=gcc -Dmyhostname=localhost -Dperladmin=root@localhost -Duseshrplib -Dusethreads -Duseithreads -Uusedtrace -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto + make + make install + diff --git a/recipe.d/0020-openssl b/recipe.d/0020-openssl new file mode 100644 index 0000000..75757f9 --- /dev/null +++ b/recipe.d/0020-openssl @@ -0,0 +1,8 @@ + mcd $BUILDDIR/openssl + cd $SLACKSOURCE/openssl/openssl-* + ./Configure --prefix=/usr --openssldir=/etc/ssl zlib no-idea no-rc5 -no-sse2 shared linux-generic32 + make depend + make all + make rehash + make install + diff --git a/recipe.d/0021-gettext b/recipe.d/0021-gettext new file mode 100644 index 0000000..afa32e4 --- /dev/null +++ b/recipe.d/0021-gettext @@ -0,0 +1,5 @@ + mcd $BUILDDIR/gettext + $SLACKSOURCE/gettext/gettext-*/configure $TCONFIGARGS --disable-static --enable-shared --with-pic-=yes --disable-csharp + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0021-gettext-tools b/recipe.d/0021-gettext-tools new file mode 100644 index 0000000..3a92f0a --- /dev/null +++ b/recipe.d/0021-gettext-tools @@ -0,0 +1,5 @@ + mcd $BUILDDIR/gettext-tools + $SLACKSOURCE/gettext-tools/gettext-*/configure $TCONFIGARGS --disable-static --enable-shared --with-pic-=yes --disable-csharp + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0022-popt b/recipe.d/0022-popt new file mode 100644 index 0000000..84b2fd3 --- /dev/null +++ b/recipe.d/0022-popt @@ -0,0 +1,5 @@ + mcd $BUILDDIR/popt + $SLACKSOURCE/popt/popt-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0023-glib2 b/recipe.d/0023-glib2 new file mode 100644 index 0000000..1325a31 --- /dev/null +++ b/recipe.d/0023-glib2 @@ -0,0 +1,7 @@ + mcd $BUILDDIR/glib2 + # glib2 expects --enable-threads=yes to enable threads, + # anything else disables threads + $SLACKSOURCE/glib2/glib-*/configure `echo $TCONFIGARGS | sed 's/posix/yes/'` --enable-static + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0024-pkg-config b/recipe.d/0024-pkg-config new file mode 100644 index 0000000..6424cf3 --- /dev/null +++ b/recipe.d/0024-pkg-config @@ -0,0 +1,5 @@ + mcd $BUILDDIR/pkg-config + $SLACKSOURCE/pkg-config/pkg-config-*/configure $TCONFIGARGS --disable-shared --with-installed-glib --with-installed-popt + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0025-libelf b/recipe.d/0025-libelf new file mode 100644 index 0000000..9485948 --- /dev/null +++ b/recipe.d/0025-libelf @@ -0,0 +1,4 @@ + mcd $BUILDDIR/libelf + $SLACKSOURCE/libelf/libelf-*/configure $TCONFIGARGS --disable-compat + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/0026-rsync b/recipe.d/0026-rsync new file mode 100644 index 0000000..c77c308 --- /dev/null +++ b/recipe.d/0026-rsync @@ -0,0 +1,5 @@ +mcd $BUILDDIR/rsync +cd $SLACKSOURCE/rsync/rsync-* +./configure $TCONFIGARGS +make $NUMJOBS +make $NUMJOBS install diff --git a/recipe.d/0027-distcc b/recipe.d/0027-distcc new file mode 100644 index 0000000..ee39978 --- /dev/null +++ b/recipe.d/0027-distcc @@ -0,0 +1,6 @@ + mcd $BUILDDIR/$1 + $SLACKSOURCE/${1}/${1}-*/configure --with-included-popt $TCONFIGARGS + notparallel + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/0030-file b/recipe.d/0030-file new file mode 100644 index 0000000..5ad9b50 --- /dev/null +++ b/recipe.d/0030-file @@ -0,0 +1,5 @@ +mcd $BUILDDIR/${1} +cd $SLACKSOURCE/${1}/${1}-* +./configure $TCONFIGARGS +make $NUMJOBS +make install diff --git a/recipe.d/0033-libusb b/recipe.d/0033-libusb new file mode 100644 index 0000000..5ad9b50 --- /dev/null +++ b/recipe.d/0033-libusb @@ -0,0 +1,5 @@ +mcd $BUILDDIR/${1} +cd $SLACKSOURCE/${1}/${1}-* +./configure $TCONFIGARGS +make $NUMJOBS +make install diff --git a/recipe.d/0033-libusb-compat b/recipe.d/0033-libusb-compat new file mode 100644 index 0000000..5ad9b50 --- /dev/null +++ b/recipe.d/0033-libusb-compat @@ -0,0 +1,5 @@ +mcd $BUILDDIR/${1} +cd $SLACKSOURCE/${1}/${1}-* +./configure $TCONFIGARGS +make $NUMJOBS +make install diff --git a/recipe.d/0100-ccache b/recipe.d/0100-ccache new file mode 100644 index 0000000..14a2730 --- /dev/null +++ b/recipe.d/0100-ccache @@ -0,0 +1,4 @@ + mcd $BUILDDIR/ccache + $SLACKSOURCE/ccache/ccache-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/0103-shadow b/recipe.d/0103-shadow new file mode 100644 index 0000000..c73eae4 --- /dev/null +++ b/recipe.d/0103-shadow @@ -0,0 +1,4 @@ + mcd $BUILDDIR/shadow + $SLACKSOURCE/shadow/shadow-*/configure $TCONFIGARGS --without-libcrack + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/0104-strace b/recipe.d/0104-strace new file mode 100644 index 0000000..09d3b07 --- /dev/null +++ b/recipe.d/0104-strace @@ -0,0 +1,4 @@ + mcd $BUILDDIR/strace + $SLACKSOURCE/strace/strace-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/XXXX-audit b/recipe.d/XXXX-audit new file mode 100644 index 0000000..3e36478 --- /dev/null +++ b/recipe.d/XXXX-audit @@ -0,0 +1,9 @@ + ####################################################### + # needs: libprelude, libcap, openldap, python, + # tcp_wrappers, swig + ####################################################### + mcd $BUILDDIR/audit + $SRC/audit-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/XXXX-cracklib b/recipe.d/XXXX-cracklib new file mode 100644 index 0000000..08886a7 --- /dev/null +++ b/recipe.d/XXXX-cracklib @@ -0,0 +1,4 @@ + mcd $BUILDDIR/cracklib + $SRC/cracklib-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/XXXX-elvis b/recipe.d/XXXX-elvis new file mode 100644 index 0000000..bf3531c --- /dev/null +++ b/recipe.d/XXXX-elvis @@ -0,0 +1,8 @@ + mcd $BUILDDIR/$1 + cd $SLACKSOURCE/${1}/${1}-* + $SLACKSOURCE/${1}/${1}-*/configure --without-x --without-gnome $TCONFIGARGS + notparallel + make $NUMJOBS + make $NUMJOBS install + ( cd /usr/bin ; ln -sf elvis ex ; ln -sf elvis vi ) + diff --git a/recipe.d/XXXX-fakechroot b/recipe.d/XXXX-fakechroot new file mode 100644 index 0000000..f7e56e9 --- /dev/null +++ b/recipe.d/XXXX-fakechroot @@ -0,0 +1,6 @@ + mcd $BUILDDIR/fakechroot + $SLACKSOURCE/fakechroot/fakechroot-*/configure $TCONFIGARGS \ + --disable-dependency-tracking \ + --disable-static + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/XXXX-gnupg b/recipe.d/XXXX-gnupg new file mode 100644 index 0000000..19ac441 --- /dev/null +++ b/recipe.d/XXXX-gnupg @@ -0,0 +1,8 @@ + ####################################################### + # needs libgpg-error, libgcrypt, libassuan, libksba + ####################################################### + mcd $BUILDDIR/gnupg2 + $SRC/${1}-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/XXXX-libxcb b/recipe.d/XXXX-libxcb new file mode 100644 index 0000000..7257971 --- /dev/null +++ b/recipe.d/XXXX-libxcb @@ -0,0 +1,4 @@ + mcd $BUILDDIR/libxcb + $SLACKSOURCE/libxcb/libxcb-*/configure $TCONFIGARGS + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/XXXX-nspr b/recipe.d/XXXX-nspr new file mode 100644 index 0000000..e4dd077 --- /dev/null +++ b/recipe.d/XXXX-nspr @@ -0,0 +1,5 @@ + mcd $BUILDDIR/nspr + $SLACKSOURCE/nspr/nspr-*/mozilla/nsprpub/configure $TCONFIGARGS --enable-thumb2 + make $NUMJOBS + make $NUMJOBS install + diff --git a/recipe.d/XXXX-nss b/recipe.d/XXXX-nss new file mode 100644 index 0000000..4b7571e --- /dev/null +++ b/recipe.d/XXXX-nss @@ -0,0 +1,37 @@ + ######################################################## + # needs perl + ######################################################## + mcd $BUILDDIR/nss + BUILD_OPT=1 + export BUILD_OPT + PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 + + export PKG_CONFIG_ALLOW_SYSTEM_LIBS + export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS + NSPR_INCLUDE_DIR=/usr/include/nspr + NSPR_LIB_DIR=/usr/lib + export NSPR_INCLUDE_DIR + export NSPR_LIB_DIR + NSS_USE_SYSTEM_SQLITE=1 + export NSS_USE_SYSTEM_SQLITE + make -C $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/coreconf + make -C $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/dbm + make -C $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/nss + cd $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/coreconf + make install + cd $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/dbm + make install + cd $SLACKSOURCE/${1}/${1}-3.12.10/mozilla/security/nss + make install + # Copy the binary libraries we want + cd $SLACKSOURCE/${1}/${1}-3.12.10 + for file in libnss3.so libnssckbi.so libnsspem.so libnsssysinit.so libsmime3.so libssl3.so libnssutil3.so libnssdbm3.chk libfreebl3.chk libfreebl3.so libnssdbm3.so libsoftokn3.chk libsoftokn3.so + do + install -p -m 755 mozilla/dist/*.OBJ/lib/$file /usr/lib/ + done + # Copy the include files we want + for file in $SLACKSOURCE/${1}/nss-*/mozilla/dist/public/nss/*.h + do + install -p -m 644 $file /usr/include/nss3/ + done diff --git a/recipe.d/XXXX-pam b/recipe.d/XXXX-pam new file mode 100644 index 0000000..ff72729 --- /dev/null +++ b/recipe.d/XXXX-pam @@ -0,0 +1,12 @@ + # FIXME: this possibly has a problem with pam_faillock.8 + # not sure if configure would re-generate that warning at this point + mcd $BUILDDIR/pam + rsync -av $SRC/Linux-PAM-*/ ./ + ./configure \ + --libdir=/lib \ + --includedir=/usr/include/security \ + --disable-prelude \ + --disable-selinux \ + --disable-audit + make $NUMJOBS + make $NUMJOBS install diff --git a/recipe.d/XXXX-redhat-rpm-config b/recipe.d/XXXX-redhat-rpm-config new file mode 100644 index 0000000..13d783e --- /dev/null +++ b/recipe.d/XXXX-redhat-rpm-config @@ -0,0 +1,3 @@ + cd $SRC/redhat-rpm-config-* + make install + cp -p /usr/share/libtool/config/config.{guess,sub} /usr/lib/rpm/redhat/ diff --git a/recipe.d/XXXX-rpm b/recipe.d/XXXX-rpm new file mode 100644 index 0000000..6fed02b --- /dev/null +++ b/recipe.d/XXXX-rpm @@ -0,0 +1,23 @@ + mcd $BUILDDIR/rpm + $SLACKSOURCE/rpm/rpm-*/configure $TCONFIGARGS \ + --build=$TARGET \ + --host=$TARGET \ + --target=$TARGET \ + CPPFLAGS="-I/usr/include/seamonkey/nspr -I/usr/include/seamonkey/nss -I/usr/include/db44" \ + LDFLAGS="-L/usr/lib/seamonkey -ldl" \ + --libdir=/usr/lib \ + --with-external-db \ + --disable-static \ + --without-lua + make $NUMJOBS + make $NUMJOBS install + mkdir -p /etc/rpm + mkdir -p /var/lib/rpm + for dbi in \ + Basenames Conflictname Dirnames Group Installtid Name Obsoletename \ + Packages Providename Requirename Triggername Sha1header Sigmd5 \ + __db.001 __db.002 __db.003 __db.004 __db.005 __db.006 __db.007 \ + __db.008 __db.009 + do + touch /var/lib/rpm/$dbi + done diff --git a/recipe.d/XXXX-tzdata b/recipe.d/XXXX-tzdata new file mode 100644 index 0000000..aa36784 --- /dev/null +++ b/recipe.d/XXXX-tzdata @@ -0,0 +1,7 @@ +# +# Note: java tzdata is not built (unlike tzdata.spec) +# +cd $SRC/$1 +make $NUMJOBS +make $NUMJOBS install + diff --git a/recipe.d/XXXX-ustr b/recipe.d/XXXX-ustr new file mode 100644 index 0000000..f18dd1b --- /dev/null +++ b/recipe.d/XXXX-ustr @@ -0,0 +1,5 @@ +cd $SRC/$1-* +make $NUMJOBS CC=gcc +make $NUMJOBS CC=gcc all-shared +make $NUMJOBS CC=gcc install + |