Magellan Linux

Annotation of /tags/old-unstable-20120113/deprecated/hwdata-knoppix/hwdata-knoppix-0.172.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9870 - (hide annotations) (download)
Fri Jan 13 21:26:11 2012 UTC (12 years, 4 months ago) by niro
File size: 1010 byte(s)
tagged 'old-unstable-20120113'
1 niro 1347 # $Id$
2    
3     PNAME="hwdata-knoppix"
4     PLEVEL="5"
5     PVER="0.172.${PLEVEL}"
6     PBUILD="r2"
7    
8     PCATEGORIE="sys-apps"
9     STATE="unstable"
10    
11     DESCRIPTION="hwdata-knoppix"
12     HOMEPAGE="http://www.knopper.net"
13    
14     DEPEND=">= virtual/glibc"
15    
16     SRCFILE="${PNAME}_${PVER/.${PLEVEL}/}-${PLEVEL}.tar.gz"
17     SRCDIR="${BUILDDIR}/${PNAME}-${PVER/.${PLEVEL}/}"
18    
19     sminclude mtools
20    
21     SRC_URI=(
22     http://debian-knoppix.alioth.debian.org/sources/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd http://debian-knoppix.alioth.debian.org/sources | grep ${PNAME}.*.tar | sed -n 's/.*_\(.*\).tar.*/\1/;s/-/./g;$ p'"
27    
28     src_prepare()
29     {
30     munpack ${SRCFILE} || die
31     }
32    
33     src_install()
34     {
35     cd ${SRCDIR}
36     make DESTDIR=${BINDIR} install || die
37    
38     minstallfile debian/Cards /usr/share/hwdata || die
39     minstallfile debian/mergepcitable /usr/share/hwdata || die
40     minstallfile debian/pcitable-knoppix /usr/share/hwdata || die
41    
42     # blacklist is provided by udev
43     rm -rf ${BINDIR}/etc || die
44    
45     # docs
46     minstalldocs CHANGELOG COPYING LICENSE README debian/changelog || die
47     }

Properties

Name Value
svn:keywords Id