diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 09:37:37 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 09:37:37 +0100 |
commit | 043b28ac8ebcaedac5d39bdf7f1f366b7818a666 (patch) | |
tree | 4f7784dc6b5530bbb7623d0ca2ddb4c71beb3c40 /i486-stage1/shadow | |
parent | 7be0daa504d7c43e20dc5583350417bff8d0f474 (diff) | |
download | bootstrap32-043b28ac8ebcaedac5d39bdf7f1f366b7818a666.tar.xz |
reorganized directory structure for package description, patches and other files
Diffstat (limited to 'i486-stage1/shadow')
-rw-r--r-- | i486-stage1/shadow/DESCR | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/i486-stage1/shadow/DESCR b/i486-stage1/shadow/DESCR new file mode 100644 index 0000000..ff12a87 --- /dev/null +++ b/i486-stage1/shadow/DESCR @@ -0,0 +1,18 @@ +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD + +# remove docu and git dependencies +sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD + +# building man pages needs xml2po, disable it +sed -i 's@--enable-man@--disable-man@g' PKGBUILD +sed -i '/find/,/-delete/{s/\(.*\)/#\1/g}' PKGBUILD +sed -i '/rmdir/,/man8/{s/\(.*\)/#\1/g}' PKGBUILD +# counterspells, yes I know, I'm bad with sed +sed -i 's/^#}/}/' PKGBUILD +# shadow: /usr/sbin exists in filesystem +# revert last rmdir commenting of /usr/sbin removal +sed -i 's@^# \+rmdir \+"$pkgdir/usr/sbin"@ rmdir "$pkgdir/usr/sbin"@' PKGBUILD + +sed -i '2!N; /prepare()/ a \ sed -i "/SUBDIRS/s/man//g" Makefile.am' PKGBUILD + |