Move pkg specific stuff from stuff to the pkgdir

This commit is contained in:
Daniel Bainton 2014-03-09 14:08:15 +02:00
parent ac90eb3aa3
commit 025702eaa4
16 changed files with 10 additions and 10 deletions

View File

@ -3,7 +3,7 @@ url="$mirror/busybox-$v.tar.bz2"
build: crossmusl sbase
cd src/busybox-$v
cp $top/stuff/busybox.config .config
cp $pkgdir/busybox.config .config
make -j$nprocs HOSTCC="$CC -static" CC=$CC busybox
cp busybox "$root/bin"
cd "$root/bin"

View File

@ -1,2 +1,2 @@
build: prepare_root
cp "$top/stuff/extlinux.conf" "$root/boot"
cp "$pkgdir/extlinux.conf" "$root/boot"

View File

@ -3,7 +3,7 @@ url="$mirror/kernel.tar.gz"
build: crossmusl
cd src/linux-$v
cp "$top/stuff/kernel-config-$arch" .config
cp "$pkgdir/kernel-config-$arch" .config
case "$arch" in
x86_64)
A=x86_64

View File

@ -3,7 +3,7 @@ url="$mirror/ncurses.tar.gz"
build: crossmusl
cd src/ncurses-$v
cp $top/stuff/ncurses-fallback.c ncurses/fallback.c
cp $pkgdir/ncurses-fallback.c ncurses/fallback.c
CC="$CC -static" ./configure --prefix="$libcroot" --mandir="$root/share" \
--datadir="$root/share" --without-tests \
--with-normal --enable-sigwinch --disable-nls --without-dlsym \

View File

@ -3,8 +3,8 @@ git="git://git.suckless.org/quark"
build: crossmusl
set -x
cd src/quark
git am -3 "$top/stuff/0002-remove-unused-code.patch"
git am -3 "$top/stuff/0003-implement-http-not-modified.patch"
git am -3 "$pkgdir/0002-remove-unused-code.patch"
git am -3 "$pkgdir/0003-implement-http-not-modified.patch"
cp config.def.h config.h
$CC -o quark quark.c -DVERSION=\"0.1\" $CFLAGS $LDFLAGS
cp quark "$root/bin"

View File

@ -1,5 +1,5 @@
build: tinyxlib
set -x
cd stuff
$CC tinywm.c -o tinywm -lX11 $CFLAGS $LDFLAGS
cd src
$CC $pkgdir/tinywm.c -o tinywm -lX11 $CFLAGS $LDFLAGS
cp tinywm "$root/bin"

View File

@ -1,5 +1,5 @@
build: tinyxlib
set -x
cd stuff
$CC xsetroot.c -o xsetroot -lX11 $CFLAGS $LDFLAGS
cd src
$CC $pkgdir/xsetroot.c -o xsetroot -lX11 $CFLAGS $LDFLAGS
cp xsetroot "$root/bin"