| 1 | Dit is een perfect voorbeeld van een makkelijk pakketje dat in 1x compiled met onze standaard slackbuild: |
| 2 | {{{ |
| 3 | psy regserver # mc |
| 4 | ... |
| 5 | (directory aanmaken en packagename.SlackBuild.example erheen trappen) |
| 6 | ... |
| 7 | psy pv # wget http://pipeviewer.googlecode.com/files/pv-1.1.0.tar.bz2 |
| 8 | --15:48:57-- http://pipeviewer.googlecode.com/files/pv-1.1.0.tar.bz2 |
| 9 | => `pv-1.1.0.tar.bz2' |
| 10 | Resolving pipeviewer.googlecode.com... 66.102.1.82 |
| 11 | Connecting to pipeviewer.googlecode.com|66.102.1.82|:80... connected. |
| 12 | HTTP request sent, awaiting response... 200 OK |
| 13 | Length: 81,122 (79K) [application/x-bzip2] |
| 14 | |
| 15 | 100%[======================================================================================================================================>] 81,122 132.70K/s |
| 16 | |
| 17 | 15:48:58 (132.69 KB/s) - `pv-1.1.0.tar.bz2' saved [81122/81122] |
| 18 | |
| 19 | psy pv # cd .. |
| 20 | psy overig # cd .. |
| 21 | psy npl # ./rebuildcheck pv |
| 22 | REBUILD REQUIRED: ./pv-1.1.0.tar.bz2 has changed! |
| 23 | REBUILDING /home/psy/syn3/npl/overig/pv/pv.SlackBuild: |
| 24 | Buildroot up-to-date check: (nocheck to skip)............................................................................................................DONE |
| 25 | Buildroot /home/psy/syn3/builder/buildroot0 repareren/syncen...OK |
| 26 | /home/psy/syn3/npl/overig/pv word gekopieerd naar werkdirectory /home/psy/syn3/builder/buildroot0/tmp/build |
| 27 | *** Chroot naar /home/psy/syn3/builder/buildroot0 en starten van pv.SlackBuild in /tmp/build: |
| 28 | /dev/pts/54: No such file or directory |
| 29 | 1 /tmp/build > basename ./pv.SlackBuild |
| 30 | 1 /tmp/build > sed s/.SlackBuild// |
| 31 | 26 /tmp/build > NAME=pv |
| 32 | 1 /tmp/build > ls pv-1.1.0.tar.bz2 |
| 33 | 29 /tmp/build > SRC_ARC=pv-1.1.0.tar.bz2 |
| 34 | 1 /tmp/build > echo pv-1.1.0.tar.bz2 |
| 35 | 1 /tmp/build > sed 's/.*-//g' |
| 36 | 1 /tmp/build > sed 's/\.tar\..*$//g' |
| 37 | 32 /tmp/build > VER=1.1.0 |
| 38 | 1 /tmp/build > echo pv-1.1.0.tar.bz2 |
| 39 | 1 /tmp/build > sed 's/\.tar\..*$//g' |
| 40 | 35 /tmp/build > SRC_DIR=pv-1.1.0 |
| 41 | 1 /tmp/build > arch |
| 42 | 39 /tmp/build > ARCH=i586 |
| 43 | 47 /tmp/build > syn3_unpack pv-1.1.0.tar.bz2 |
| 44 | pv-1.1.0.tar.bz2 |
| 45 | 54 /tmp/build > export CONFIGURE_OPTS= |
| 46 | 54 /tmp/build > CONFIGURE_OPTS= |
| 47 | 56 /tmp/build > export MAKE_OPTS= |
| 48 | 56 /tmp/build > MAKE_OPTS= |
| 49 | 60 /tmp/build > export INSTALL_OPTS= |
| 50 | 60 /tmp/build > INSTALL_OPTS= |
| 51 | 61 /tmp/build > syn3_build_automake pv-1.1.0 /tmp/pkg |
| 52 | 2 /tmp/build > SRC=pv-1.1.0 |
| 53 | 3 /tmp/build > DST=/tmp/pkg |
| 54 | 5 /tmp/build > '[' /tmp/pkg ']' |
| 55 | 18 /tmp/build > cd pv-1.1.0 |
| 56 | 19 /tmp/build/pv-1.1.0 > ./configure --prefix=/usr --sysconfdir=/etc |
| 57 | checking for gcc... gcc |
| 58 | checking for C compiler default output file name... a.out |
| 59 | checking whether the C compiler works... yes |
| 60 | checking whether we are cross compiling... no |
| 61 | checking for suffix of executables... |
| 62 | checking for suffix of object files... o |
| 63 | checking whether we are using the GNU C compiler... yes |
| 64 | checking whether gcc accepts -g... yes |
| 65 | checking for gcc option to accept ANSI C... none needed |
| 66 | checking for a BSD-compatible install... /usr/bin/ginstall -c |
| 67 | checking whether make sets $(MAKE)... yes |
| 68 | checking for gzip... gzip -f9 |
| 69 | checking for msgfmt... /usr/bin/msgfmt |
| 70 | checking for gmsgfmt... /usr/bin/msgfmt |
| 71 | checking for xgettext... /usr/bin/xgettext |
| 72 | checking for main in -lintl... no |
| 73 | checking for main in -li... no |
| 74 | checking for gettext... yes |
| 75 | checking how to run the C preprocessor... gcc -E |
| 76 | checking for egrep... grep -E |
| 77 | checking for ANSI C header files... yes |
| 78 | checking for sys/types.h... yes |
| 79 | checking for sys/stat.h... yes |
| 80 | checking for stdlib.h... yes |
| 81 | checking for string.h... yes |
| 82 | checking for memory.h... yes |
| 83 | checking for strings.h... yes |
| 84 | checking for inttypes.h... yes |
| 85 | checking for stdint.h... yes |
| 86 | checking for unistd.h... yes |
| 87 | checking libintl.h usability... yes |
| 88 | checking libintl.h presence... yes |
| 89 | checking for libintl.h... yes |
| 90 | checking locale.h usability... yes |
| 91 | checking locale.h presence... yes |
| 92 | checking for locale.h... yes |
| 93 | checking for getopt_long... yes |
| 94 | checking for getopt... yes |
| 95 | checking getopt.h usability... yes |
| 96 | checking getopt.h presence... yes |
| 97 | checking for getopt.h... yes |
| 98 | checking for open64... yes |
| 99 | checking for ANSI C header files... (cached) yes |
| 100 | checking for memcpy... yes |
| 101 | checking for basename... yes |
| 102 | checking for snprintf... yes |
| 103 | checking limits.h usability... yes |
| 104 | checking limits.h presence... yes |
| 105 | checking for limits.h... yes |
| 106 | checking sys/ipc.h usability... yes |
| 107 | checking sys/ipc.h presence... yes |
| 108 | checking for sys/ipc.h... yes |
| 109 | checking sys/param.h usability... yes |
| 110 | checking sys/param.h presence... yes |
| 111 | checking for sys/param.h... yes |
| 112 | checking libgen.h usability... yes |
| 113 | checking libgen.h presence... yes |
| 114 | checking for libgen.h... yes |
| 115 | configure: creating ./config.status |
| 116 | config.status: creating Makefile |
| 117 | config.status: creating doc/lsm |
| 118 | config.status: creating doc/quickref.1 |
| 119 | config.status: creating doc/pv.spec |
| 120 | config.status: creating src/.dummy |
| 121 | config.status: creating src/include/config.h |
| 122 | config.status: executing default commands |
| 123 | 22 /tmp/build/pv-1.1.0 > make |
| 124 | 25 /tmp/build/pv-1.1.0 > '[' '' '!=' 1 ']' |
| 125 | 26 /tmp/build/pv-1.1.0 > grep '^check:' Makefile |
| 126 | 29 /tmp/build/pv-1.1.0 > grep '^test:' Makefile |
| 127 | 35 /tmp/build/pv-1.1.0 > mkdir -p /tmp/pkg |
| 128 | 36 /tmp/build/pv-1.1.0 > make pkgconfigdir=/usr/lib/pkgconfig install_prefix=/tmp/pkg DESTDIR=/tmp/pkg INSTALL_ROOT=/tmp/pkg install_root=/tmp/pkg install |
| 129 | mkdir /tmp/pkg/usr |
| 130 | mkdir /tmp/pkg/usr/bin |
| 131 | mkdir /tmp/pkg/usr/man |
| 132 | mkdir /tmp/pkg/usr/man/man1 |
| 133 | mkdir /tmp/pkg/usr/share |
| 134 | mkdir /tmp/pkg/usr/share/locale |
| 135 | mkdir /tmp/pkg/usr/share/locale/de |
| 136 | mkdir /tmp/pkg/usr/share/locale/de/LC_MESSAGES |
| 137 | mkdir /tmp/pkg/usr/share/locale/fr |
| 138 | mkdir /tmp/pkg/usr/share/locale/fr/LC_MESSAGES |
| 139 | mkdir /tmp/pkg/usr/share/locale/pl |
| 140 | mkdir /tmp/pkg/usr/share/locale/pl/LC_MESSAGES |
| 141 | mkdir /tmp/pkg/usr/share/locale/pt |
| 142 | mkdir /tmp/pkg/usr/share/locale/pt/LC_MESSAGES |
| 143 | 38 /tmp/build/pv-1.1.0 > exit 0 |
| 144 | 64 /tmp/build > syn3_strip /tmp/pkg |
| 145 | 67 /tmp/build > syn3_move_dev /tmp/pkg /tmp/pkgdev |
| 146 | 68 /tmp/build > syn3_makepkg /tmp/pkgdev pv_dev 1.1.0 i586 |
| 147 | Not creating empty pacakge |
| 148 | 71 /tmp/build > syn3_makepkg /tmp/pkg pv 1.1.0 i586 |
| 149 | tar-1.13: pv.pkg.tar is the archive; not dumped |
| 150 | *** Build gelukt. |
| 151 | * Packages terugmoven naar originele directory.. |
| 152 | /home/psy/syn3/builder/buildroot0/tmp/build/pv.arch ... |
| 153 | /home/psy/syn3/builder/buildroot0/tmp/build/pv.version ... |
| 154 | /home/psy/syn3/builder/buildroot0/tmp/build/pv.pkg ... |
| 155 | |
| 156 | * Klaar ja! |
| 157 | Updating md5 for /home/psy/syn3/npl/overig/pv/pv.SlackBuild... |
| 158 | Updating dependency information for /home/psy/syn3/npl/overig/pv/pv.SlackBuild... |
| 159 | All rebuilds completed. |
| 160 | psy npl # tar -tzf overig/pv/pv.pkg |
| 161 | ./ |
| 162 | usr/ |
| 163 | usr/share/ |
| 164 | usr/share/locale/ |
| 165 | usr/share/locale/pt/ |
| 166 | usr/share/locale/pt/LC_MESSAGES/ |
| 167 | usr/share/locale/pt/LC_MESSAGES/pv.mo |
| 168 | usr/share/locale/pl/ |
| 169 | usr/share/locale/pl/LC_MESSAGES/ |
| 170 | usr/share/locale/pl/LC_MESSAGES/pv.mo |
| 171 | usr/share/locale/fr/ |
| 172 | usr/share/locale/fr/LC_MESSAGES/ |
| 173 | usr/share/locale/fr/LC_MESSAGES/pv.mo |
| 174 | usr/share/locale/de/ |
| 175 | usr/share/locale/de/LC_MESSAGES/ |
| 176 | usr/share/locale/de/LC_MESSAGES/pv.mo |
| 177 | usr/man/ |
| 178 | usr/man/man1/ |
| 179 | usr/man/man1/pv.1.gz |
| 180 | usr/bin/ |
| 181 | usr/bin/pv |
| 182 | psy npl # |
| 183 | }}} |
| 184 | |
| 185 | w00t! gelukt. committen en klaar is kees! :) |