Install libevent:
http://slackbuilds.org/repository/13.37/libraries/libevent/
then chromium:
http://slackbuilds.org/repository/13.37/network/chromium/
Posts mit dem Label tgz werden angezeigt. Alle Posts anzeigen
Posts mit dem Label tgz werden angezeigt. Alle Posts anzeigen
Sonntag, 11. Dezember 2011
Samstag, 19. November 2011
Automated slackware package creation from given sourcefile
Slackware packages are a great (the only good way) to keep track of the installed software on (and to cleanly remove installed software from) your slackware machine.
Most packages that you can find in the www (slackbuilds.org, http://packages.slackware.it, ...) are outdated. You know that: Looking at slackbuilds.org for a tool, then looking at the version number and see that there's a source on the builders homepage that's x major and y minor releases further.
I, personally, hate to install 'old' software. I want the newest. So I have to built from source - make, ./configure --flags, make install to a DESTDIR, cp docs, change rights and makepkg at the end.
This sucks. To learn a bit about writing shellscripts I started to write a shellscript that does the job (yes, I know about pkgbuild). Currently it's able to:
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
Most packages that you can find in the www (slackbuilds.org, http://packages.slackware.it, ...) are outdated. You know that: Looking at slackbuilds.org for a tool, then looking at the version number and see that there's a source on the builders homepage that's x major and y minor releases further.
I, personally, hate to install 'old' software. I want the newest. So I have to built from source - make, ./configure --flags, make install to a DESTDIR, cp docs, change rights and makepkg at the end.
This sucks. To learn a bit about writing shellscripts I started to write a shellscript that does the job (yes, I know about pkgbuild). Currently it's able to:
- remove old sources
- remove old package
- extract the source package (tar.gz / tar.bz2)
- copy a given layout file (supported by apache httpd for instance)
- make install to DESTDIR
- create documentation directory
- copy documentation files (like README, INSTALL, AUTHORS...)
- chown root.root DESTDIR
- build package with makepkg
- echo build time
- remove sources after successful build
- remove installation from DESTDIR after successful build
- automatically search SRCDIR for documentation and copy it
- really important: create slack_desc for created package
- really important: output last 5 rows if build fails
- really important: check for $DESTDIR support
- make it much cleaner
- less params
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
Labels:
automated build,
build,
buildfile,
package,
packages,
Shellscript,
Slackware,
source,
tgz
Abonnieren
Posts (Atom)