Skip to content

Instantly share code, notes, and snippets.

/usr/scripts/make_package.sh
@johntyree
johntyree / gist:168055
Created August 14, 2009 19:42
Make a package.
#!/bin/bash
## Usage make_package.sh [<PackageName>] [<TargetDir>]
## Must be run in basedir of package.
## PackageName defaults to name of current dir.
## TargetDir defaults to /tmp/package
## Uses .rsync-filter if present
PKG=${1:-"$(basename $PWD)"}
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# Load "freetype" # This loads the font modules
Load "glx" # This loads the GLX module
EndSection
# Slackware build script for conky
# Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# 1.- Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler-------------------------------------------------------|
qemu-kvm: qemu-kvm (open source processor emulator)
qemu-kvm:
Creating Slackware package: /tmp/qemu-kvm-0.11.0-rc1-x86_64-1_jet.tgz
./
install/
install/slack-desc
usr/
usr/man/
usr/man/man1/
usr/man/man1/qemu.1.gz
usr/man/man1/qemu-img.1.gz
KERNEL=="kvm", GROUP="kvm"
run_command: calling: test
udevadm_test: version 141
parse_file: reading '//lib/udev/rules.d/40-alsa.rules' as rules file
parse_file: reading '//lib/udev/rules.d/40-infiniband.rules' as rules file
parse_file: reading '//lib/udev/rules.d/40-isdn.rules' as rules file
parse_file: reading '//lib/udev/rules.d/40-slackware.rules' as rules file
parse_file: reading '//lib/udev/rules.d/40-zaptel.rules' as rules file
parse_file: reading '//lib/udev/rules.d/50-firmware.rules' as rules file
parse_file: reading '//lib/udev/rules.d/50-udev-default.rules' as rules file
parse_file: reading '//lib/udev/rules.d/55-hpmud.rules' as rules file
#!/bin/sh
# Slackware build script for qemu-kvm
# Copyright 2009 John Tyree <johntyreeREMOVETHIS@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
Codec: Conexant CX20561 (Hermosa)
Address: 0
Function Id: 0x2
Vendor Id: 0x14f15051
Subsystem Id: 0x103c30cf
Revision Id: 0x100000
Modem Function Group: 0x2
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24