Changes between Initial Version and Version 1 of npl/overig/pv


Ignore:
Timestamp:
08/08/08 00:10:42 (16 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • npl/overig/pv

    v1 v1  
     1Dit is een perfect voorbeeld van een makkelijk pakketje dat in 1x compiled met onze standaard slackbuild:
     2{{{
     3psy regserver # mc
     4...
     5(directory aanmaken en packagename.SlackBuild.example erheen trappen)
     6...
     7psy 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'
     10Resolving pipeviewer.googlecode.com... 66.102.1.82
     11Connecting to pipeviewer.googlecode.com|66.102.1.82|:80... connected.
     12HTTP request sent, awaiting response... 200 OK
     13Length: 81,122 (79K) [application/x-bzip2]
     14
     15100%[======================================================================================================================================>] 81,122       132.70K/s
     16
     1715:48:58 (132.69 KB/s) - `pv-1.1.0.tar.bz2' saved [81122/81122]
     18
     19psy pv # cd ..
     20psy overig # cd ..
     21psy npl # ./rebuildcheck pv
     22REBUILD REQUIRED: ./pv-1.1.0.tar.bz2 has changed!
     23REBUILDING /home/psy/syn3/npl/overig/pv/pv.SlackBuild:
     24Buildroot up-to-date check: (nocheck to skip)............................................................................................................DONE
     25Buildroot /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
     291 /tmp/build > basename ./pv.SlackBuild
     301 /tmp/build > sed s/.SlackBuild//
     3126 /tmp/build > NAME=pv
     321 /tmp/build > ls pv-1.1.0.tar.bz2
     3329 /tmp/build > SRC_ARC=pv-1.1.0.tar.bz2
     341 /tmp/build > echo pv-1.1.0.tar.bz2
     351 /tmp/build > sed 's/.*-//g'
     361 /tmp/build > sed 's/\.tar\..*$//g'
     3732 /tmp/build > VER=1.1.0
     381 /tmp/build > echo pv-1.1.0.tar.bz2
     391 /tmp/build > sed 's/\.tar\..*$//g'
     4035 /tmp/build > SRC_DIR=pv-1.1.0
     411 /tmp/build > arch
     4239 /tmp/build > ARCH=i586
     4347 /tmp/build > syn3_unpack pv-1.1.0.tar.bz2
     44pv-1.1.0.tar.bz2
     4554 /tmp/build > export CONFIGURE_OPTS=
     4654 /tmp/build > CONFIGURE_OPTS=
     4756 /tmp/build > export MAKE_OPTS=
     4856 /tmp/build > MAKE_OPTS=
     4960 /tmp/build > export INSTALL_OPTS=
     5060 /tmp/build > INSTALL_OPTS=
     5161 /tmp/build > syn3_build_automake pv-1.1.0 /tmp/pkg
     522 /tmp/build > SRC=pv-1.1.0
     533 /tmp/build > DST=/tmp/pkg
     545 /tmp/build > '[' /tmp/pkg ']'
     5518 /tmp/build > cd pv-1.1.0
     5619 /tmp/build/pv-1.1.0 > ./configure --prefix=/usr --sysconfdir=/etc
     57checking for gcc... gcc
     58checking for C compiler default output file name... a.out
     59checking whether the C compiler works... yes
     60checking whether we are cross compiling... no
     61checking for suffix of executables...
     62checking for suffix of object files... o
     63checking whether we are using the GNU C compiler... yes
     64checking whether gcc accepts -g... yes
     65checking for gcc option to accept ANSI C... none needed
     66checking for a BSD-compatible install... /usr/bin/ginstall -c
     67checking whether make sets $(MAKE)... yes
     68checking for gzip... gzip -f9
     69checking for msgfmt... /usr/bin/msgfmt
     70checking for gmsgfmt... /usr/bin/msgfmt
     71checking for xgettext... /usr/bin/xgettext
     72checking for main in -lintl... no
     73checking for main in -li... no
     74checking for gettext... yes
     75checking how to run the C preprocessor... gcc -E
     76checking for egrep... grep -E
     77checking for ANSI C header files... yes
     78checking for sys/types.h... yes
     79checking for sys/stat.h... yes
     80checking for stdlib.h... yes
     81checking for string.h... yes
     82checking for memory.h... yes
     83checking for strings.h... yes
     84checking for inttypes.h... yes
     85checking for stdint.h... yes
     86checking for unistd.h... yes
     87checking libintl.h usability... yes
     88checking libintl.h presence... yes
     89checking for libintl.h... yes
     90checking locale.h usability... yes
     91checking locale.h presence... yes
     92checking for locale.h... yes
     93checking for getopt_long... yes
     94checking for getopt... yes
     95checking getopt.h usability... yes
     96checking getopt.h presence... yes
     97checking for getopt.h... yes
     98checking for open64... yes
     99checking for ANSI C header files... (cached) yes
     100checking for memcpy... yes
     101checking for basename... yes
     102checking for snprintf... yes
     103checking limits.h usability... yes
     104checking limits.h presence... yes
     105checking for limits.h... yes
     106checking sys/ipc.h usability... yes
     107checking sys/ipc.h presence... yes
     108checking for sys/ipc.h... yes
     109checking sys/param.h usability... yes
     110checking sys/param.h presence... yes
     111checking for sys/param.h... yes
     112checking libgen.h usability... yes
     113checking libgen.h presence... yes
     114checking for libgen.h... yes
     115configure: creating ./config.status
     116config.status: creating Makefile
     117config.status: creating doc/lsm
     118config.status: creating doc/quickref.1
     119config.status: creating doc/pv.spec
     120config.status: creating src/.dummy
     121config.status: creating src/include/config.h
     122config.status: executing default commands
     12322 /tmp/build/pv-1.1.0 > make
     12425 /tmp/build/pv-1.1.0 > '[' '' '!=' 1 ']'
     12526 /tmp/build/pv-1.1.0 > grep '^check:' Makefile
     12629 /tmp/build/pv-1.1.0 > grep '^test:' Makefile
     12735 /tmp/build/pv-1.1.0 > mkdir -p /tmp/pkg
     12836 /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
     129mkdir /tmp/pkg/usr
     130mkdir /tmp/pkg/usr/bin
     131mkdir /tmp/pkg/usr/man
     132mkdir /tmp/pkg/usr/man/man1
     133mkdir /tmp/pkg/usr/share
     134mkdir /tmp/pkg/usr/share/locale
     135mkdir /tmp/pkg/usr/share/locale/de
     136mkdir /tmp/pkg/usr/share/locale/de/LC_MESSAGES
     137mkdir /tmp/pkg/usr/share/locale/fr
     138mkdir /tmp/pkg/usr/share/locale/fr/LC_MESSAGES
     139mkdir /tmp/pkg/usr/share/locale/pl
     140mkdir /tmp/pkg/usr/share/locale/pl/LC_MESSAGES
     141mkdir /tmp/pkg/usr/share/locale/pt
     142mkdir /tmp/pkg/usr/share/locale/pt/LC_MESSAGES
     14338 /tmp/build/pv-1.1.0 > exit 0
     14464 /tmp/build > syn3_strip /tmp/pkg
     14567 /tmp/build > syn3_move_dev /tmp/pkg /tmp/pkgdev
     14668 /tmp/build > syn3_makepkg /tmp/pkgdev pv_dev 1.1.0 i586
     147Not creating empty pacakge
     14871 /tmp/build > syn3_makepkg /tmp/pkg pv 1.1.0 i586
     149tar-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!
     157Updating md5 for /home/psy/syn3/npl/overig/pv/pv.SlackBuild...
     158Updating dependency information for /home/psy/syn3/npl/overig/pv/pv.SlackBuild...
     159All rebuilds completed.
     160psy npl # tar -tzf overig/pv/pv.pkg
     161./
     162usr/
     163usr/share/
     164usr/share/locale/
     165usr/share/locale/pt/
     166usr/share/locale/pt/LC_MESSAGES/
     167usr/share/locale/pt/LC_MESSAGES/pv.mo
     168usr/share/locale/pl/
     169usr/share/locale/pl/LC_MESSAGES/
     170usr/share/locale/pl/LC_MESSAGES/pv.mo
     171usr/share/locale/fr/
     172usr/share/locale/fr/LC_MESSAGES/
     173usr/share/locale/fr/LC_MESSAGES/pv.mo
     174usr/share/locale/de/
     175usr/share/locale/de/LC_MESSAGES/
     176usr/share/locale/de/LC_MESSAGES/pv.mo
     177usr/man/
     178usr/man/man1/
     179usr/man/man1/pv.1.gz
     180usr/bin/
     181usr/bin/pv
     182psy npl #
     183}}}
     184
     185w00t! gelukt. committen en klaar is kees! :)