Magellan Linux

Contents of /trunk/todo/chntpw/chntpw-20040818-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2206 - (show annotations) (download)
Thu Jul 9 19:18:53 2009 UTC (14 years, 10 months ago) by niro
File size: 948 byte(s)
-moved to 'todo'
1 # $Header: /magellan-cvs/smage/imaging/imaging-1.1.5-r2.smage2,v 1.3 2005/12/29 20:42:58 niro Exp $
2
3 PNAME="chntpw"
4 PVER="20040818"
5 PBUILD="r1"
6
7 PCATEGORIE="app-crypt"
8 STATE="unstable"
9
10 DESCRIPTION="Offline NT Password & Registry Editor"
11 HOMEPAGE="http://home.eunet.no/~pnordahl/ntpasswd/"
12
13 DEPEND=""
14 SDEPEND=">= dev-libs/openssl-0.9.7
15 >= app-arch/unzip-5.50"
16
17 SRCFILE="${PNAME}-source-040818.zip"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 SRC_URI=(
21 mirror://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${PNAME}-${PVER}-gcc4.patch
23 )
24
25 src_prepare() {
26 install -d ${SRCDIR} || die
27 unzip ${SOURCEDIR}/${PNAME}/${SRCFILE} -d ${SRCDIR} || die
28 cd ${SRCDIR}
29
30 mpatch -Np1 ${PNAME}-${PVER}-gcc4.patch || die
31 }
32
33 src_compile() {
34 cd ${SRCDIR}
35 mmake || die
36 }
37
38 src_install() {
39 cd ${SRCDIR}
40
41 install -d ${BINDIR}/usr/bin || die
42 install -o root -g root -m0755 chntpw ${BINDIR}/usr/bin || die
43 minstalldocs COPYING.txt HISTORY.txt INSTALL.txt README.txt || die
44 }

Properties

Name Value
svn:keywords Id